16 lines
454 B
TOML
16 lines
454 B
TOML
# cargo release <patch|minor|major> --execute: bumps Cargo.toml, mirrors the
|
|||
|
|
# version into PKGBUILD (pkgrel back to 1), commits, tags v<version>, pushes.
|
||
|
|
# The tag is what .gitea/workflows/release.yml builds and publishes.
|
||
|
|
publish = false
|
||
|
|
allow-branch = ["main"]
|
||
|
|
|
||
|
|
[[pre-release-replacements]]
|
||
|
|
file = "PKGBUILD"
|
||
|
|
search = "pkgver=.*"
|
||
|
|
replace = "pkgver={{version}}"
|
||
|
|
|
||
|
|
[[pre-release-replacements]]
|
||
|
|
file = "PKGBUILD"
|
||
|
|
search = "pkgrel=.*"
|
||
|
|
replace = "pkgrel=1"
|