|
@@ -99,10 +99,10 @@ function tagAndPublish(newVersion) {
|
99
|
99
|
console.log(`trying to publish ${newVersion}...`);
|
100
|
100
|
exec.execSync(`npm --no-git-tag-version version ${newVersion}`);
|
101
|
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
|
102
|
if (isRelease) {
|
105
|
|
- updatePackageJsonGit(newVersion);
|
|
103
|
+ exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
|
|
104
|
+ exec.execSyncSilent(`git push deploy ${newVersion} || true`);
|
|
105
|
+ updatePackageJsonGit(newVersion);
|
106
|
106
|
}
|
107
|
107
|
}
|
108
|
108
|
|