diff --git a/.github/workflows/tag_deploy_rubygem.yml b/.github/workflows/tag_deploy_rubygem.yml index 3d2e0750..9a908a0a 100644 --- a/.github/workflows/tag_deploy_rubygem.yml +++ b/.github/workflows/tag_deploy_rubygem.yml @@ -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