summaryrefslogtreecommitdiffstats
path: root/third_party/rust/uniffi/release.toml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/uniffi/release.toml')
-rw-r--r--third_party/rust/uniffi/release.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/rust/uniffi/release.toml b/third_party/rust/uniffi/release.toml
new file mode 100644
index 0000000000..8fa324bdbf
--- /dev/null
+++ b/third_party/rust/uniffi/release.toml
@@ -0,0 +1,12 @@
+# Note that this `release.toml` exists to capture things that must only be
+# done once per workspace - but all other config exists in [../release.toml](../release.toml).
+
+tag = true
+
+# This is how we manage the sections in CHANGELOG.md
+pre-release-replacements = [
+ {file="../CHANGELOG.md", search="\\[\\[UnreleasedVersion\\]\\]", replace="v{{version}}", exactly=2},
+ {file="../CHANGELOG.md", search="\\[\\[ReleaseDate\\]\\]", replace="{{date}}", exactly=1},
+ {file="../CHANGELOG.md", search="\\.\\.\\.HEAD\\)", replace="...{{tag_name}})", exactly=1},
+ {file="../CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [[UnreleasedVersion]] - (_[[ReleaseDate]]_)\n\n[All changes in [[UnreleasedVersion]]](https://github.com/mozilla/uniffi-rs/compare/v{{version}}...HEAD).", exactly=1},
+]