forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary: Merge up to React Native 0.75.2 ## Test Plan: CI should pass.
- Loading branch information
Showing
300 changed files
with
348,994 additions
and
47,583 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
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
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,11 +1,27 @@ | ||
name: create_release | ||
description: Creates a new React Native release | ||
inputs: | ||
version: | ||
description: "The version of React Native we want to release. For example 0.75.0-rc.0" | ||
required: true | ||
is_latest_on_npm: | ||
description: "Whether we want to tag this release as latest on NPM" | ||
required: true | ||
default: "false" | ||
dry_run: | ||
description: "Whether the job should be executed in dry-run mode or not" | ||
default: "false" | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Yarn install | ||
shell: bash | ||
run: yarn install --non-interactive | ||
- name: Configure Git | ||
shell: bash | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "React Native Bot" | ||
- name: Creating release commit | ||
shell: bash | ||
run: | | ||
|
@@ -16,14 +32,14 @@ runs: | |
GIT_PAGER=cat git show HEAD | ||
- name: Update "latest" tag if needed | ||
shell: bash | ||
if: ${{ inputs.tag == 'latest' }} | ||
if: ${{ inputs.is_latest_on_npm == 'true' }} | ||
run: | | ||
git tag -d "latest" | ||
git push origin :latest | ||
git tag -a "latest" -m "latest" | ||
- name: Pushing release commit | ||
shell: bash | ||
if: ${{ inputs.dry_run == false }} | ||
if: ${{ inputs.dry_run == 'false' }} | ||
run: | | ||
CURR_BRANCH="$(git branch --show-current)" | ||
git push origin "$CURR_BRANCH" --follow-tags |
Oops, something went wrong.