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