Skip to content

Commit

Permalink
Simplify changelog processing on release
Browse files Browse the repository at this point in the history
  • Loading branch information
dholroyd committed Mar 10, 2024
1 parent 9117ea2 commit d2816aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Changelog

<!-- next-header -->

## Unreleased - FutureDate
## Unreleased

### Changed
- The `SpliceCommand` enum is now marked `non_exhaustive` since there may be additions to it in future.
Expand Down
6 changes: 2 additions & 4 deletions release.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="FutureDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## Unreleased - FutureDate", exactly=1},
]
{file="CHANGELOG.md", search="## Unreleased", replace="## Unreleased\n\n## {{version}} - {{date}}", exactly=1},
]

0 comments on commit d2816aa

Please sign in to comment.