pre-release-replacements = [ { file="CHANGELOG.md", search="Unreleased", replace="{{version}}" }, { file="CHANGELOG.md", search="unreleased", replace="{{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\n[unreleased]: https://github.com/org/repo/compare/{{tag_name}}...HEAD", exactly=1 }, ]