Skip to content

Commit fe0e4d1

Browse files
Merge pull request #821 from appwrite/fix-rn-deploy-script
React Native - handle both -rc and -RC releases
2 parents 71332e7 + 155d477 commit fe0e4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/react-native/.github/workflows/publish.yml.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Determine release tag
2424
id: release_tag
2525
run: |
26-
if [[ "${{ '{{' }} github.ref {{ '}}' }}" == *"-rc"* ]]; then
26+
if [[ "${{ '{{' }} github.ref {{ '}}' }}" == *"-rc"* ]] || [[ "${{ '{{' }} github.ref {{ '}}' }}" == *"-RC"* ]]; then
2727
echo "tag=next" >> "$GITHUB_OUTPUT"
2828
else
2929
echo "tag=latest" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)