Skip to content

Commit 26a7f6c

Browse files
committed
fix changelog update
1 parent 6e3d810 commit 26a7f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pre-release-prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
if: github.event.inputs.is_patch != 'true'
9999
run: |
100100
# Replace "## Unreleased" with "## ${VERSION} - $(date +%Y-%m-%d)" for new releases
101-
sed -i "s/## Unreleased/## ${VERSION} - $(date +%Y-%m-%d)/" CHANGELOG.md
101+
sed -i "s/## Unreleased/## Unreleased\n\n## v${VERSION} - $(date +%Y-%m-%d)/" CHANGELOG.md
102102
git add CHANGELOG.md
103103
git commit -m "Update CHANGELOG for version ${VERSION}"
104104
git push origin "v${VERSION}_release"

0 commit comments

Comments
 (0)