From 3d9e03b51d6b1aa0fb6daf865a911b196f222501 Mon Sep 17 00:00:00 2001 From: Chris Tessmer Date: Mon, 31 Jul 2023 21:39:59 -0400 Subject: [PATCH] Fix GHA tag/deploy workflow This patch fixes a bug in the `tag_deploy` GHA workflow --- .github/workflows/tag_deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag_deploy.yml b/.github/workflows/tag_deploy.yml index 1185794..c98aa19 100644 --- a/.github/workflows/tag_deploy.yml +++ b/.github/workflows/tag_deploy.yml @@ -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"