瀏覽代碼

update to node 7 due to bug in npm5

Daniel Zlotin 7 年之前
父節點
當前提交
242c3bd5e8
共有 3 個文件被更改,包括 3 次插入4 次删除
  1. 1
    1
      package.json
  2. 1
    2
      scripts/env/installNode.sh
  3. 1
    1
      scripts/release.js

+ 1
- 1
package.json 查看文件

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "react-native-navigation",
3
-  "version": "2.0.31",
3
+  "version": "2.0.0",
4 4
   "description": "React Native Navigation - truly native navigation for iOS and Android",
5 5
   "license": "MIT",
6 6
   "nativePackage": true,

+ 1
- 2
scripts/env/installNode.sh 查看文件

@@ -2,5 +2,4 @@
2 2
 
3 3
 curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
4 4
 export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
5
-nvm install stable
6
-nvm use stable
5
+nvm install 7

+ 1
- 1
scripts/release.js 查看文件

@@ -55,8 +55,8 @@ email=\${NPM_EMAIL}
55 55
 function tagAndPublish(newVersion) {
56 56
   console.log(`new version is: ${newVersion}`);
57 57
   exec.execSync(`npm version ${newVersion} -f -m "v${newVersion} [ci skip]"`);
58
-  exec.execSyncSilent(`git push deploy --tags`);
59 58
   exec.execSync(`npm publish --tag ${VERSION_TAG}`);
59
+  exec.execSyncSilent(`git push deploy --tags || true`);
60 60
 }
61 61
 
62 62
 function run() {