configure changie to update version on release
All checks were successful
Check go code / build-and-release (push) Successful in 1m5s

This commit is contained in:
2025-11-12 20:12:44 +01:00
parent 0a64db6925
commit 9439f6afe1

View File

@@ -25,8 +25,14 @@ newlines:
endOfVersion: 1
envPrefix: CHANGIE_
# update the version in the cargo file, on release
# update the version in relevant files
replacements:
- path: Cargo.toml
find: '^version = ".*"'
replace: 'version = "{{.VersionNoPrefix}}"'
- path: web-extension/cl/manifest.json
find: '"version": ".*"'
replace: '"version": "{{.VersionNoPrefix}}"'
- path: web-extension/cl/package.json
find: '"version": ".*"'
replace: '"version": "{{.VersionNoPrefix}}"'