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
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,21 @@ jobs:
# Create release notes
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
# Use PR body for release notes
cat > /tmp/release_notes.md << EOF
## ${{ github.event.pull_request.title }}

${{ github.event.pull_request.body }}

---
**Version**: $VERSION | **Type**: $BUMP_TYPE
EOF
{
echo "## ${{ github.event.pull_request.title }}"
echo ""
echo "${{ github.event.pull_request.body }}"
echo ""
echo "---"
echo "**Version**: $VERSION | **Type**: $BUMP_TYPE"
} > /tmp/release_notes.md
else
# Manual workflow dispatch
cat > /tmp/release_notes.md << EOF
Release $VERSION

**Version bump**: $BUMP_TYPE
EOF
{
echo "Release $VERSION"
echo ""
echo "**Version bump**: $BUMP_TYPE"
} > /tmp/release_notes.md
fi

cat /tmp/release_notes.md
Expand Down
Loading