Skip to content

Commit

Permalink
ci: fix unsupported ternary operator
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILLIPS71 committed Apr 14, 2024
1 parent b3132c0 commit f35ecb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ runs:
git commit -anm 'chore(release): ${{ steps.version.outputs.version }}'
git push origin release/${{ steps.version.outputs.version }}
gh release create v${{ steps.version.outputs.version }} ${{ steps.version.outputs.tag == 'latest' ? '--latest' : '--prerelease' }} --generate-notes
gh release create v${{ steps.version.outputs.version }} ${{ steps.version.outputs.tag == 'latest' && '--latest' || '--prerelease' }} --generate-notes
echo "branch=$(git branch --show-current)" >> $GITHUB_OUTPUT
env:
Expand Down

0 comments on commit f35ecb1

Please sign in to comment.