We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c49116 commit 25fec83Copy full SHA for 25fec83
scripts/jenkinsRelease.js
@@ -89,7 +89,9 @@ function tagAndPublish(newVersion) {
89
console.log(`trying to publish ${newVersion}...`);
90
exec.execSync(`npm --no-git-tag-version version ${newVersion}`);
91
exec.execSync(`npm publish --tag ${VERSION_TAG}`);
92
- exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
+ if (isRelease) {
93
+ exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
94
+ }
95
exec.execSyncSilent(`git push deploy ${newVersion} || true`);
96
}
97
0 commit comments