Skip to content

Commit 25fec83

Browse files
committed
stop tagging snapshot releases
1 parent 1c49116 commit 25fec83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/jenkinsRelease.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ function tagAndPublish(newVersion) {
8989
console.log(`trying to publish ${newVersion}...`);
9090
exec.execSync(`npm --no-git-tag-version version ${newVersion}`);
9191
exec.execSync(`npm publish --tag ${VERSION_TAG}`);
92-
exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
92+
if (isRelease) {
93+
exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
94+
}
9395
exec.execSyncSilent(`git push deploy ${newVersion} || true`);
9496
}
9597

0 commit comments

Comments
 (0)