Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,7 @@ jobs:
if: startsWith(github.event.ref, 'refs/tags/v')
run: |
VERSION="$(./scripts/get-version.sh)"
# Extract full release notes from git tag message (including subject and body)
# Use %(contents) to get the full message, then skip the PGP signature if present
git tag -l --format='%(contents)' "$VERSION" | sed '/-----BEGIN PGP SIGNATURE-----/,$d' > /tmp/release-notes.txt
# Create draft release with all assets in a single command
# Use --notes-file to safely handle special characters and multi-line content
mise x -- git cliff --strip all --latest >/tmp/release-notes.txt
gh release create "$VERSION" \
--title "$VERSION" \
--notes-file /tmp/release-notes.txt \
Expand Down
Loading