Fixed version bumping
Summary: Fixed version bumping in prepare-release script Reviewed By: priteshrnandgaonkar Differential Revision: D20771162 fbshipit-source-id: 8b8efa7111269e3f2b39b09c3dff1afe1fd0cf41
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4e3c06cd54
commit
2a27b47752
@@ -59,7 +59,7 @@ if [ "$SANDCASTLE_REVISION" != "" ];
|
||||
then
|
||||
# In future, bump majors instead of minors?
|
||||
echo "Automatically bumping version to next minor in package.json"
|
||||
yarn --cwd "$DESKTOP_DIR" version minor --no-git-tag-version
|
||||
npm -C "$DESKTOP_DIR" version minor
|
||||
VERSION=$(jq -r '.version' "$DESKTOP_DIR"/package.json)
|
||||
else
|
||||
echo "The currently released version is $OLD_VERSION. What should the version of the next release be?"
|
||||
|
||||
Reference in New Issue
Block a user