summaryrefslogtreecommitdiffstats
path: root/third_party/rust/uniffi/release.toml
blob: 36154d8322f077cd604fc29ac79d6ec4e4513d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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="\\.\\.\\.HEAD\\)", replace="...{{tag_name}})", exactly=1},
  {file="../CHANGELOG.md", search="\\[\\[NextUnreleasedUniFFIVersion\\]\\]", replace="[[UnreleasedUniFFIVersion]]", exactly=2},
  {file="../CHANGELOG.md", search="\\.\\.\\.NEXT_HEAD\\)", replace="...HEAD)", exactly=1},
]