pre-release-replacements = [ { 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[Unreleased]: https://gitlab.com/vepain/csvbinmatrix-rust/-/compare/{{tag_name}}...HEAD", exactly = 1 }, { file = "README.md", search = "csvbinmatrix = .*", replace = "{{crate_name}} = \"{{version}}\"" }, ] allow-branch = ["develop"]