Skip to content

Commit

Permalink
Fix tag release bug
Browse files Browse the repository at this point in the history
  • Loading branch information
op-ct committed Jul 10, 2023
1 parent cab2a5a commit ece48b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tag_deploy_rubygem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,13 @@ 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"
deploy-rubygem:
name: Deploy RubyGem Release
Expand Down

0 comments on commit ece48b7

Please sign in to comment.