Skip to content

Commit

Permalink
Fixed the tag_deploy github action (#46)
Browse files Browse the repository at this point in the history
* Fixed the tag_deploy github action

* Fixed prerelease spelling
  • Loading branch information
michael-riddle authored May 22, 2023
1 parent b1ccc2a commit 0863b49
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_PRERELEASE: ${{ 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_PRERELEASE == yes ]] && args+=(--prerelease)
hub release create ${args[@]} "$TARGET_TAG"
Expand Down

0 comments on commit 0863b49

Please sign in to comment.