@momo-kits/foundation 0.75.18-beta.0 → 0.75.19-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 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.75.18-beta.0",
3
+ "version": "0.75.19-beta.0",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},
package/publish.sh CHANGED
@@ -5,7 +5,6 @@ rm -rf dist
5
5
  mkdir dist
6
6
  rsync -r --exclude=/dist ./* dist
7
7
  cd dist
8
- PACKAGE_NAME=$(npm pkg get name)
9
8
 
10
9
  if [ "$1" == "beta" ]; then # Publish beta
11
10
  npm version $(npm view @momo-kits/foundation@beta version)
@@ -16,6 +15,7 @@ else # Publish latest
16
15
  npm version patch
17
16
  npm publish --tag latest --access=public
18
17
  fi
18
+ PACKAGE_NAME=$(npm pkg get name)
19
19
  NEW_PACKAGE_VERSION=$(npm pkg get version)
20
20
 
21
21
  # Clean up