summaryrefslogtreecommitdiffstats
path: root/third_party/rust/presser/release.toml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/presser/release.toml')
-rw-r--r--third_party/rust/presser/release.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/presser/release.toml b/third_party/rust/presser/release.toml
new file mode 100644
index 0000000000..904e2fe68e
--- /dev/null
+++ b/third_party/rust/presser/release.toml
@@ -0,0 +1,11 @@
+pre-release-commit-message = "Release {{version}}"
+dev-version = false
+tag-message = "Release {{version}}"
+tag-name = "{{version}}"
+pre-release-replacements = [
+ { file = "CHANGELOG.md", search = "Unreleased", replace = "{{version}}" },
+ { file = "CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}" },
+ { file = "CHANGELOG.md", search = "ReleaseDate", replace = "{{date}}" },
+ { file = "CHANGELOG.md", search = "<!-- next-header -->", replace = "<!-- next-header -->\n## [Unreleased] - ReleaseDate" },
+ { file = "CHANGELOG.md", search = "<!-- next-url -->", replace = "<!-- next-url -->\n[Unreleased]: https://github.com/EmbarkStudios/presser/compare/{{tag_name}}...HEAD" },
+]