mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix workflow for automating version bumps
Summary: Changelog: [Internal] - Fix bugs in automate workflow Reviewed By: cortinico, sota000 Differential Revision: D32810597 fbshipit-source-id: 13503fea871043224f673f2c5301804e1f4cf614
This commit is contained in:
@@ -713,6 +713,8 @@ jobs:
|
||||
prepare_package_for_release:
|
||||
executor: reactnativeios
|
||||
steps:
|
||||
- checkout
|
||||
- run_yarn
|
||||
- add_ssh_keys:
|
||||
fingerprints:
|
||||
- "1c:98:e0:3a:52:79:95:29:12:cd:b4:87:5b:41:e2:bb"
|
||||
|
||||
@@ -50,7 +50,7 @@ if (!isReleaseBranch(branch)) {
|
||||
}
|
||||
|
||||
// Progress the version by 1 using existing git tags
|
||||
const {version} = getNextVersionFromTags(branch);
|
||||
const version = getNextVersionFromTags(branch);
|
||||
|
||||
if (exec(`node scripts/set-rn-version.js --to-version ${version}`).code) {
|
||||
echo(`Failed to set React Native version to ${version}`);
|
||||
|
||||
Reference in New Issue
Block a user