pre-release-replacements = [ {file="CHANGELOG.md", search="Unreleased", replace="Version {{version}}"}, {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"}, {file="CHANGELOG.md", search="", replace="\n\n## [Unreleased] - ReleaseDate", exactly=1}, {file="CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/autometrics-dev/am_list/compare/{{tag_name}}...HEAD", exactly=1}, ]