Skip to content

Commit e2472e5

Browse files
authored
Merge pull request #1746 from wix/infra/Release_script_tags
Release script - fix git tagging command
2 parents 3f12474 + abb225a commit e2472e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/release.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ function tagAndPublish(newVersion) {
103103
exec.execSyncRead(`npm publish --tag ${VERSION_TAG}`);
104104
if (isReleaseBuild && !IS_SNAPSHOT) {
105105
exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
106-
exec.execSyncSilent(`git push deploy ${newVersion} || true`);
106+
console.log(`tagging git for version ${newVersion}...`);
107+
exec.execSyncSilent(`git push origin ${newVersion}`);
107108
}
108109
}
109110

0 commit comments

Comments
 (0)