@momo-kits/foundation 0.75.17-beta.0 → 0.75.18-beta.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/publish.sh +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.75.17-beta.0",
3
+ "version": "0.75.18-beta.0",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},
package/publish.sh CHANGED
@@ -9,13 +9,14 @@ PACKAGE_NAME=$(npm pkg get name)
9
9
 
10
10
  if [ "$1" == "beta" ]; then # Publish beta
11
11
  npm version $(npm view @momo-kits/foundation@beta version)
12
- NEW_PACKAGE_VERSION=$(npm version prepatch --preid=beta)
12
+ npm version prepatch --preid=beta
13
13
  npm publish --tag beta --access=public
14
14
  else # Publish latest
15
15
  npm version $(npm view @momo-kits/foundation version)
16
- NEW_PACKAGE_VERSION=$(npm version patch)
16
+ npm version patch
17
17
  npm publish --tag latest --access=public
18
18
  fi
19
+ NEW_PACKAGE_VERSION=$(npm pkg get version)
19
20
 
20
21
  # Clean up
21
22
  cd ..