Skip to content

Commit 9a5e00d

Browse files
fix escape special chars
1 parent cf54f04 commit 9a5e00d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
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"* ]]; then
2727
echo "tag=next" >> "$GITHUB_OUTPUT"
2828
else
2929
echo "tag=latest" >> "$GITHUB_OUTPUT"
@@ -37,6 +37,6 @@ jobs:
3737

3838
# Publish to NPM with the appropriate tag
3939
- name: Publish
40-
run: npm publish --tag ${{ steps.release_tag.outputs.tag }}
40+
run: npm publish --tag ${{ '{{' }} steps.release_tag.outputs.tag {{ '}}' }}
4141
env:
42-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
42+
NODE_AUTH_TOKEN: ${{ '{{' }} secrets.NPM_TOKEN {{ '}}' }}

0 commit comments

Comments
 (0)