uilib-native 5.0.0-snapshot.7424 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uilib-native",
3
- "version": "5.0.0-snapshot.7424",
3
+ "version": "5.0.0",
4
4
  "homepage": "https://github.com/wix/react-native-ui-lib",
5
5
  "description": "uilib native components (separated from js components)",
6
6
  "main": "components/index",
@@ -59,7 +59,9 @@ function tryPublishAndTag(version) {
59
59
 
60
60
  function tagAndPublish(newVersion) {
61
61
  console.log(`trying to publish ${newVersion}...`);
62
- exec.execSync(`npm --no-git-tag-version version ${newVersion}`);
62
+ if (IS_SNAPSHOT) {
63
+ exec.execSync(`npm --no-git-tag-version version ${newVersion}`);
64
+ }
63
65
  exec.execSync(`npm publish --tag ${VERSION_TAG}`);
64
66
  if (!IS_SNAPSHOT) {
65
67
  exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);