Skip to content

Commit

Permalink
Fix GHA tag/deploy workflow (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
op-ct committed Aug 1, 2023
1 parent 8aca80a commit d7daf4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tag_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@ jobs:
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IS_PRERELASE: ${{ steps.tag-check.outputs.prerelease }}
run: |
echo "${RELEASE_MESSAGE}" > /tmp/.commit-msg.txt
args=(--file /tmp/.commit-msg.txt)
[[ ${{ steps.tag-check.outputs.prerelease }} == yes ]] && args+=(--prerelease)
[[ $IS_PRERELASE == yes ]] && args+=(--prerelease)
hub release create ${args[@]} "$TARGET_TAG"
Expand Down

0 comments on commit d7daf4e

Please sign in to comment.