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 cd69e36 commit 29a469cCopy full SHA for 29a469c
scripts/release.js
@@ -99,10 +99,10 @@ function tagAndPublish(newVersion) {
99
console.log(`trying to publish ${newVersion}...`);
100
exec.execSync(`npm --no-git-tag-version version ${newVersion}`);
101
exec.execSync(`npm publish --tag ${VERSION_TAG}`);
102
- exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
103
- exec.execSyncSilent(`git push deploy ${newVersion} || true`);
104
if (isRelease) {
105
- updatePackageJsonGit(newVersion);
+ exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
+ exec.execSyncSilent(`git push deploy ${newVersion} || true`);
+ updatePackageJsonGit(newVersion);
106
}
107
108
0 commit comments