Skip to content

Commit

Permalink
Fix GHA tag/deploy workflow (#136)
Browse files Browse the repository at this point in the history
This patch fixes a bug in the `tag_deploy` GHA workflow
  • Loading branch information
op-ct authored Aug 1, 2023
1 parent 00a9f05 commit 6e45a2f
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 6e45a2f

Please sign in to comment.