Przeglądaj źródła

update to node 7 due to bug in npm5

Daniel Zlotin 7 lat temu
rodzic
commit
242c3bd5e8
3 zmienionych plików z 3 dodań i 4 usunięć
  1. 1
    1
      package.json
  2. 1
    2
      scripts/env/installNode.sh
  3. 1
    1
      scripts/release.js

+ 1
- 1
package.json Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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() {