summaryrefslogtreecommitdiffstats
path: root/third_party/rust/uniffi_core/release.toml
blob: 2ff9c83f02cd3468ec3fe4f582b3e93e570f525f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Note that this `release.toml` exists to capture things that must only be
# done once for `cargo release-backend-crates`.
#
# [../uniffi/release.toml](../uniffi/release.toml) captures things that must only be done for `cargo release-uniffi`
#
# All other config exists in [../release.toml](../release.toml).

tag = false

# This is how we manage the sections in CHANGELOG.md
pre-release-replacements = [
  {file="../CHANGELOG.md", search="\\[\\[UnreleasedBackendVersion\\]\\]", replace="v{{version}}", exactly=1},
  {file="../CHANGELOG.md", search="\\[\\[ReleaseDate\\]\\]", replace="{{date}}", exactly=1},
  {file="../CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [[NextUnreleasedUniFFIVersion]] (backend crates: [[UnreleasedBackendVersion]]) - (_[[ReleaseDate]]_)\n\n[All changes in [[NextUnreleasedUniFFIVersion]]](https://github.com/mozilla/uniffi-rs/compare/v{{version}}...NEXT_HEAD).", exactly=1},
]