Skip to content

Commit

Permalink
added release command (#211)
Browse files Browse the repository at this point in the history
Co-authored-by: Rick Gardner <[email protected]>
  • Loading branch information
rgardner4012 and Rick Gardner authored May 9, 2023
1 parent 54c2902 commit b7cc1cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tag_deploy_rubygem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,13 @@ jobs:
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IS_PRERELASE: ${{ steps.tag-check.outputs.prerelease }}
IS_PRERELEASE: ${{ steps.tag-check.outputs.prerelease }}
run: |
echo "${RELEASE_MESSAGE}" > /tmp/.commit-msg.txt
args=(--file /tmp/.commit-msg.txt)
[[ $IS_PRERELASE == 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 b7cc1cf

Please sign in to comment.