Skip to content

Commit 803e99f

Browse files
👷 Update CHANGELOG and release workflow to exclude installation instructions
- Removed installation instructions from CHANGELOG.md to streamline the release notes. - Updated release workflow to append only relevant release notes, excluding the installation section from release_notes.md.
1 parent 9dddd0b commit 803e99f

File tree

2 files changed

+4
-531
lines changed

2 files changed

+4
-531
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@ jobs:
246246
247247
EOF
248248
249-
# Append the body from release_notes.md (skipping the title if it's redundant, but our release_notes.md has headers)
249+
# Append the body from release_notes.md (excluding installation section)
250250
# Our release_notes.md starts with "## What's Changed".
251-
# Let's just dump the whole release_notes.md content into the changelog entry for now.
251+
# Extract only the release notes (up to but not including "## Installation")
252252
# Replace ## with ### to maintain proper header hierarchy
253-
sed 's/^## /### /' release_notes.md >> new_entry.md
253+
sed '/^## Installation$/,$d' release_notes.md | sed 's/^## /### /' >> new_entry.md
254254
echo "" >> new_entry.md
255255
256256
# If CHANGELOG.md exists (which it should now), we need to insert new_entry.md after the header

0 commit comments

Comments
 (0)