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.toml14
1 files changed, 14 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..3decae3abf
--- /dev/null
+++ b/third_party/rust/uniffi/release.toml
@@ -0,0 +1,14 @@
+# Note that this `release.toml` exists to capture things that must only be
+# done once for `cargo release-uniffi`.
+#
+# [../uniffi_core/release.toml](../uniffi_core/release.toml) captures things that must only be done for `cargo release-backend-crates`
+#
+# 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="\\[\\[UnreleasedUniFFIVersion\\]\\]", replace="v{{version}}", exactly=2},
+ {file="../CHANGELOG.md", search="\\[\\[NextUnreleasedUniFFIVersion\\]\\]", replace="[[UnreleasedUniFFIVersion]]", exactly=1},
+]