# cargo-release configuration
# Docs: https://github.com/crate-ci/cargo-release/blob/master/docs/reference.md
# Run git-cliff to update CHANGELOG before the release commit
= [
"git-cliff",
"--tag", "{{version}}",
"-o", "CHANGELOG.md",
]
# Stage CHANGELOG.md so it goes into the release commit
= "bump: {{prev_version}} -> {{version}}"
# Files where the version string will also be replaced
# (add README.md here if you reference the version there)
= []
# Don't push or publish automatically — you decide when
= false
= false
# Tag format
= "v{{version}}"
= "Release v{{version}}"
# Only allow releases from these branches
= ["main", "master"]