Skip to content

Commit a28d396

Browse files
cortinicofacebook-github-bot
authored andcommitted
Do not reset rn-artifacts-version on release branch (facebook#48572)
Summary: Pull Request resolved: facebook#48572 Because of this extra step on build-android, we're seeing the version 1000.0.0-<SHA> on commits on the release branch. This prevents it. Changelog: [Internal] [Changed] - Do not reset rn-artifacts-version on release branch Reviewed By: cipolleschi Differential Revision: D67975049 fbshipit-source-id: dace7c931ec310538c11c4b9e544fdc2241a1d0c
1 parent deea423 commit a28d396

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/actions/build-android/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ runs:
2020
- name: Set React Native Version
2121
shell: bash
2222
run: node ./scripts/releases/set-rn-artifacts-version.js --build-type ${{ inputs.release-type }}
23+
# We don't want to re-set the artifacts version if we're on the release branch.
24+
if: ${{ !contains(github.ref, '-stable') }}
2325
- name: Setup gradle
2426
uses: ./.github/actions/setup-gradle
2527
with:

0 commit comments

Comments
 (0)