Skip to content

Commit 62a83ab

Browse files
authored
Fix GHA tag/deploy workflow (#26)
1 parent ebb6aa6 commit 62a83ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tag_deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,11 @@ jobs:
117117
id: create_release
118118
env:
119119
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120+
IS_PRERELASE: ${{ steps.tag-check.outputs.prerelease }}
120121
run: |
121122
echo "${RELEASE_MESSAGE}" > /tmp/.commit-msg.txt
122123
args=(--file /tmp/.commit-msg.txt)
123-
[[ ${{ steps.tag-check.outputs.prerelease }} == yes ]] && args+=(--prerelease)
124+
[[ $IS_PRERELASE == yes ]] && args+=(--prerelease)
124125
125126
hub release create ${args[@]} "$TARGET_TAG"
126127

0 commit comments

Comments
 (0)