From 12d9028775729f5edc068e597a9d7cffeac6922a Mon Sep 17 00:00:00 2001 From: op-ct Date: Tue, 1 Aug 2023 09:29:54 -0400 Subject: [PATCH] Fix GHA tag/deploy workflow (#71) --- .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"