Do not bump every package version for every release
Summary: This diff sets all package version to "0.0.0" except of the root package and changes the bump script to only bump version in the root package. This should reduce possibility of conflicts on release diffs. Anyway we always use the same version for all of our packages, so we can only set it to the root. Before npm publishing we will set all package versions to the same number as in the root package (we actually already do that) so there will be no differences except we won't need to bump version in more than 100 packages each release. Reviewed By: mweststrate Differential Revision: D25162373 fbshipit-source-id: 02fe401bee72845339c67925c130027bdaee559d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
92bd68a371
commit
dbc888613b
@@ -32,8 +32,8 @@ fi
|
||||
|
||||
echo "Preparing release $VERSION..."
|
||||
|
||||
# Update all the packages included as workspaces to the very same version
|
||||
yarn --cwd "$DESKTOP_DIR" bump-versions --new-version "$VERSION"
|
||||
# Update flipper app version to the very same version
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user