Skip to content

Commit ae531ce

Browse files
ericyanCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 7296e4a commit ae531ce

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,6 @@ jobs:
7979
env:
8080
GH_TOKEN: ${{ github.token }}
8181
RELEASE_TAG: ${{ github.ref_name }}
82-
run: gh release upload "${RELEASE_TAG}" release-artifacts/* --clobber
82+
run: |
83+
test "$(gh release view "${RELEASE_TAG}" --json isDraft --jq '.isDraft')" = "true"
84+
gh release upload "${RELEASE_TAG}" release-artifacts/* --clobber

0 commit comments

Comments
 (0)