Skip to content

Commit 3923d2f

Browse files
committed
fix: publish workflow variables
1 parent cf38a4a commit 3923d2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
env:
142142
GH_TOKEN: ${{ github.token }}
143143
run: |
144-
if gh release view "$tag" &>/dev/null; then
145-
gh release delete "$tag" --yes
144+
if gh release view ${{ needs.details.outputs.tag_name }} &>/dev/null; then
145+
gh release delete ${{ needs.details.outputs.tag_name }} --yes
146146
fi
147147
gh release create ${{ needs.details.outputs.tag_name }} dist/* --title ${{ needs.details.outputs.tag_name }} --generate-notes

0 commit comments

Comments
 (0)