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 c41858a commit f44aa6fCopy full SHA for f44aa6f
lib/scripts/releaseNative.js
@@ -59,7 +59,9 @@ function tryPublishAndTag(version) {
59
60
function tagAndPublish(newVersion) {
61
console.log(`trying to publish ${newVersion}...`);
62
- exec.execSync(`npm --no-git-tag-version version ${newVersion}`);
+ if (IS_SNAPSHOT) {
63
+ exec.execSync(`npm --no-git-tag-version version ${newVersion}`);
64
+ }
65
exec.execSync(`npm publish --tag ${VERSION_TAG}`);
66
if (!IS_SNAPSHOT) {
67
exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
0 commit comments