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