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}}"'

2
Cargo.lock generated
View File

@@ -174,7 +174,7 @@ dependencies = [
[[package]]
name = "cl-cli"
version = "0.1.0"
version = "0.4.1"
dependencies = [
"clap",
"gitlab",

View File

@@ -1,6 +1,6 @@
[package]
name = "cl-cli"
version = "0.1.0"
version = "0.4.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html