forked from facebook/react-native
-
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.
Use set-version in nightly publishes
Summary: Changelog: [Internal] - Update nightly flow to use set-version This change first fixes `set-version` to update the `packages/react-native` native source and build files (as `set-rn-version` does) -- this was an oversight but not an issue as `set-version` isn't actually used anywhere right now. Then, this change updates `publish-npm` script to use `set-version` only for nightlies -- as `dry-run` and `pre-alpha` are non-functioning build types right now. This does not change the flow of build-type `'release'` -- that will still use `set-rn-version` via CircleCI ([job](https://fburl.com/code/6xo3ijwg), [script](https://fburl.com/code/bo8np0tb)) We will eventually replace that too but that will be later. The reason for this change today is to delete the nightly-specific `get-and-update-packages` script to eventually conform all release flows to use this. Secondly, we want to use this script to bump everything on `main` after we make an rc.0 -- to replace `yarn bump-all-updated-packages --release-branch-cutoff` as detailed in this step: https://reactnative.dev/contributing/release-branch-cut-and-rc0#12-bump-minor-version-of-all-monorepo-packages-in-main Differential Revision: D53463414
- Loading branch information
1 parent
bc3fe0d
commit 9f9fad7
Showing
11 changed files
with
862 additions
and
69 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
1 change: 1 addition & 0 deletions
1
...s/set-version/__tests__/__fixtures__/packages/react-native/ReactAndroid/gradle.properties
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
VERSION_NAME=1000.0.0 |
Oops, something went wrong.