Skip to content

Commit b4aebcd

Browse files
authored
Merge pull request #31 from d-oit/fix-release-notes
Fix release notes to include only current version's changes
2 parents 012bf2d + 885158c commit b4aebcd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release-consolidated.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,15 @@ jobs:
6666
- name: Install git-cliff
6767
run: cargo install git-cliff
6868

69-
- name: Generate release notes
7069
run: |
7170
TAG="${{ steps.tag.outputs.tag }}"
7271
73-
# Generate base changelog
74-
git cliff --tag "$TAG" --strip header > base_notes.md
72+
# Generate changelog for current tag
73+
git cliff --tag $TAG > base_notes.md
74+
75+
76+
# Remove the version header line to match original format
77+
sed -i '1d' base_notes.md
7578
7679
# Create enhanced release notes
7780
cat > enhanced_notes.md << EOF

0 commit comments

Comments
 (0)