-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow releasing prereleases from different branches (wix#2447)
* lerna 3.22.1 * fingers crossed * env var name change * Back to lerna 2.11.0 * Fix log * tweaks * Publish 17.10.7-alpha.0 [ci skip] * Revert "Publish 17.10.7-alpha.0 [ci skip]" This reverts commit 1179988. * trying to update lerna through scripts * update script to new lerna API * --no-ci * --no-ci * lerna install now verbose * verbose++ * remove detox cli * npm global installation permission workaround * remove commented out code * prerelease version alignment with npmjs * revert back to 17.10.7 Co-authored-by: wixmobile <[email protected]>
- Loading branch information
1 parent
dc1d85b
commit 60fd09a
Showing
14 changed files
with
42 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"lerna": "2.4.0", | ||
"lerna": "3.22.1", | ||
"packages": [ | ||
"detox", | ||
"detox-cli", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash -e | ||
#!/bin/bash -ex | ||
|
||
source $(dirname "$0")/ci.sh | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/bin/bash -e | ||
|
||
source $(dirname "$0")/logger.sh | ||
source $(dirname "$0")/install.sh | ||
|
||
if [ ! -z ${REACT_NATIVE_VERSION} ]; then | ||
node scripts/change_react_native_version.js "detox/test" ${REACT_NATIVE_VERSION} | ||
fi | ||
|
||
run_f "lerna bootstrap" | ||
|
||
run_f "lerna bootstrap --no-ci" | ||
run_f "lerna run build" | ||
run_f "lerna run test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
source $(dirname "$0")/logger.sh | ||
source $(dirname "$0")/install.sh | ||
|
||
# Only update the demo-react-native project; others will use this binary | ||
node scripts/change_react_native_version.js "examples/demo-react-native" ${REACT_NATIVE_VERSION} | ||
|
||
run_f "lerna bootstrap" | ||
run_f "lerna bootstrap --no-ci" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash -e | ||
|
||
$(dirname "$0")/install.sh | ||
source $(dirname "$0")/install.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/bin/bash -e | ||
|
||
npm install -g [email protected] >/dev/null 2>&1 | ||
mkdir ~/.npm-global | ||
npm config set prefix '~/.npm-global' | ||
export PATH=~/.npm-global/bin:$PATH | ||
|
||
npm install -g [email protected] | ||
npm install -g react-native-cli >/dev/null 2>&1 | ||
npm install -g detox-cli >/dev/null 2>&1 |