react-native/scripts
Riccardo Cipolleschi ece68f0efd Remove the trigger-react-native-release to use the GHA workflow_dispatch UI (#44898)
Summary:
This change removes the need for the trigger-react-native-release.js script.
Thanks to the migration to Github Actions, we can now leverage the GHA workflow UI to trigger a Prepare Release job that creates a github tag that will spin a new release.

The pro of this approach are:
- less code to maintain: instead of a complex trigger release scripts, we only have to maintain two very straightforward scripts for the CI
- easier to trigger a release: instead of running a script, we can now just use the GH UI

The `trigger-react-native-release` script was doing the following steps:
- check that we are in the release branch ==> Already implemented in the GHA workflow
- Gets the branch name (not needed) ==> the job will automatically run on the stable branch
- Check for unsent changes (not needed) ==> we are not in a local environment
- get the gh token (not needed) ==> You need to be logged in GH and have write access to the repo
- get the version ==> provided as a parameter
- fails if the tag is already there ==> Functionality added in the workflow
- Parse and validate the version ==> Functionality added to the action prepare-release action + the JS Script
- Compute the npmTag ==> Functionality added to the action prepare-release action + the JS Script
- trigger the release workflow ==> The GH UI does that for us

## Changelog:
[Internal] - Remove the trigger-react-native-release.js

Pull Request resolved: https://github.com/facebook/react-native/pull/44898

Test Plan: Testing in Production!

Reviewed By: cortinico, huntie

Differential Revision: D58461470

Pulled By: cipolleschi

fbshipit-source-id: 32bb0ee91370c9483a29e2ca2e18e24557d5fd53
2024-06-13 08:19:58 -07:00
..
__tests__ Add support for patch rc versions 2024-04-25 15:17:34 -07:00
build update shared build to strip Babel wrapper (#44339) 2024-05-02 04:00:21 -07:00
circleci chore(ci): Set retryOnFailure for RNTester iOS Unit and Integration tests (#44642) 2024-05-30 07:24:35 -07:00
debugger-frontend Add --create-diff mode to debugger-frontend sync script (#43621) 2024-03-22 12:11:48 -07:00
e2e Fix E2E template install in CI jobs (#43323) 2024-03-05 06:18:37 -08:00
monorepo Remove bump-all-updated-packages script (#43534) 2024-03-19 07:05:03 -07:00
release-testing Add useLastSuccessfulPipeline to release testing script (#44088) 2024-04-16 10:34:44 -07:00
releases Remove the trigger-react-native-release to use the GHA workflow_dispatch UI (#44898) 2024-06-13 08:19:58 -07:00
releases-ci Remove bump-all-updated-packages script (#43534) 2024-03-19 07:05:03 -07:00
utils Relocate and export updatePackageJson script util 2024-03-04 02:54:44 -08:00
.tests.env Test against XCode 14.3 and 15 (#41798) 2023-12-05 15:35:05 -08:00
android-e2e-test.js Enable lint/sort-imports everywhere (#41334) 2023-11-06 12:59:38 -08:00
consts.js Fix RNTester Podfile.lock update in release workflow (#43513) 2024-03-15 10:32:07 -07:00
lint-java.js Enable lint/sort-imports everywhere (#41334) 2023-11-06 12:59:38 -08:00
npm-utils.js Add support for patch rc versions 2024-04-25 15:17:34 -07:00
objc-test.sh Remove deprecated Snapshot tests (#39720) 2023-10-03 04:33:53 -07:00
process-podspecs.sh
run-ci-javascript-tests.js RN: Fix Open Source Test Scripts 2024-03-29 01:42:24 -07:00
scm-utils.js Enable Flow on misc release scripts (#42736) 2024-01-31 03:36:02 -08:00
sync-css-layout.sh
validate-ios-test-env.sh