24 lines
847 B
TOML
24 lines
847 B
TOML
|
|
# cargo-release configuration (https://github.com/crate-ci/cargo-release).
|
||
|
|
#
|
||
|
|
# Usage, from a clean main checkout:
|
||
|
|
#
|
||
|
|
# cargo release patch # or minor / major / an explicit x.y.z
|
||
|
|
#
|
||
|
|
# This bumps every workspace crate in lockstep, commits, tags `vX.Y.Z`,
|
||
|
|
# and pushes commit + tag. The tag push triggers the release workflow
|
||
|
|
# (.gitea/workflows/release.yml), which builds and attaches the
|
||
|
|
# distribution tarballs. Nothing is published to crates.io.
|
||
|
|
|
||
|
|
# One version for the whole workspace; a single `vX.Y.Z` tag.
|
||
|
|
shared-version = true
|
||
|
|
tag-name = "v{{version}}"
|
||
|
|
consolidate-commits = true
|
||
|
|
pre-release-commit-message = "release v{{version}}"
|
||
|
|
|
||
|
|
# Distribution is tarballs + PKGBUILD, not crates.io.
|
||
|
|
publish = false
|
||
|
|
push = true
|
||
|
|
|
||
|
|
# The full quality bar must pass before anything is committed.
|
||
|
|
pre-release-hook = ["cargo", "test", "--workspace"]
|