configure changie to update the version number automatically into Cargo.toml

This commit is contained in:
2025-11-11 22:00:41 +01:00
parent af8983ecdd
commit b0f2a1452c
3 changed files with 8 additions and 2 deletions

View File

@@ -24,3 +24,9 @@ newlines:
beforeChangelogVersion: 1
endOfVersion: 1
envPrefix: CHANGIE_
# update the version in the cargo file, on release
replacements:
- path: Cargo.toml
find: '^version = ".*"'
replace: 'version = "{{.VersionNoPrefix}}"'