Update js-flipper in the pre-release phase and publish it
Summary: 1. Update js-flipper's version in pre-release 2. Update current version of js-flipper to match react-native-flipper 3. Publish js-flipper automatically Reviewed By: mweststrate Differential Revision: D31858522 fbshipit-source-id: e5a9816980d89d3ca6745bc16942f7b75f8d2a88
This commit is contained in:
committed by
Facebook GitHub Bot
parent
695ba14289
commit
3176c2f81d
@@ -38,6 +38,9 @@ yarn --cwd "$DESKTOP_DIR" version --new-version "$VERSION"
|
||||
# Update react-native-flipper to the very same version
|
||||
yarn --cwd "$SONAR_DIR"/react-native/react-native-flipper version --new-version "$VERSION" --no-git-tag-version
|
||||
|
||||
# Update js-flipper to the very same version
|
||||
yarn --cwd "$SONAR_DIR"/js/js-flipper version --new-version "$VERSION" --no-git-tag-version
|
||||
|
||||
# This could be one expression with GNU sed, but I guess we want to support the BSD crap, too.
|
||||
SNAPSHOT_MINOR_VERSION=$(echo "$VERSION" | sed -Ee 's/([0-9]+)\.([0-9]+)\.([0-9]+)/\3 + 1/' | bc)
|
||||
SNAPSHOT_VERSION="$(echo "$VERSION" | sed -Ee 's/([0-9]+)\.([0-9]+)\.([0-9]+)/\1.\2./')""$SNAPSHOT_MINOR_VERSION""-SNAPSHOT"
|
||||
|
||||
Reference in New Issue
Block a user