We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1755498 commit 95cb6cfCopy full SHA for 95cb6cf
.github/workflows/release-zips.yml
@@ -82,7 +82,13 @@ jobs:
82
run: |
83
# Check if the latest release exists
84
if gh release view latest; then
85
- # Update the existing release instead of deleting
+ # Check if the release is a draft and publish it
86
+ if gh release view latest --json draft --jq '.draft'; then
87
+ echo "Publishing the draft release..."
88
+ gh release edit latest --draft=false
89
+ fi
90
+
91
+ # Update the existing release with new details
92
gh release edit latest \
93
--title "Latest Release" \
94
--notes "This is always the latest release. For permanent links, use the dated releases." \
0 commit comments