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:
Luna Wei
2021-12-03 13:15:38 -08:00
parent 1c73abbbb6
commit f269c2d719
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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"
+1 -1
View File
@@ -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}`);