1# Note that this `release.toml` exists to capture things that must only be
2# done once for `cargo release-uniffi`.
3#
4# [../uniffi_core/release.toml](../uniffi_core/release.toml) captures things that must only be done for `cargo release-backend-crates`
5#
6# All other config exists in [../release.toml](../release.toml).
7
8tag = true
9
10# This is how we manage the sections in CHANGELOG.md
11pre-release-replacements = [
12  {file="../CHANGELOG.md", search="\\[\\[UnreleasedUniFFIVersion\\]\\]", replace="v{{version}}", exactly=2},
13  {file="../CHANGELOG.md", search="\\.\\.\\.HEAD\\)", replace="...{{tag_name}})", exactly=1},
14  {file="../CHANGELOG.md", search="\\[\\[NextUnreleasedUniFFIVersion\\]\\]", replace="[[UnreleasedUniFFIVersion]]", exactly=2},
15  {file="../CHANGELOG.md", search="\\.\\.\\.NEXT_HEAD\\)", replace="...HEAD)", exactly=1},
16]
17