fix: repair GitHub release publish workflow

This commit is contained in:
2026-03-07 19:43:35 -08:00
parent e18985fb14
commit f0418c6e56
4 changed files with 80 additions and 6 deletions

View File

@@ -337,15 +337,14 @@ jobs:
EOF
if gh release view "${{ steps.version.outputs.VERSION }}" >/dev/null 2>&1; then
# Do not pass the prerelease flag here; gh defaults to a normal release.
gh release edit "${{ steps.version.outputs.VERSION }}" \
--title "${{ steps.version.outputs.VERSION }}" \
--notes-file release-body.md \
--prerelease false
--notes-file release-body.md
else
gh release create "${{ steps.version.outputs.VERSION }}" \
--title "${{ steps.version.outputs.VERSION }}" \
--notes-file release-body.md \
--prerelease false
--notes-file release-body.md
fi
shopt -s nullglob