Skip to content

Commit

Permalink
Fix GHA tag/deploy workflow
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 committed Aug 1, 2023
1 parent ca63b8e commit be45bef
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 be45bef

Please sign in to comment.