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