configure changie to update version on release
All checks were successful
Check go code / build-and-release (push) Successful in 1m5s
All checks were successful
Check go code / build-and-release (push) Successful in 1m5s
This commit is contained in:
@@ -25,8 +25,14 @@ newlines:
|
|||||||
endOfVersion: 1
|
endOfVersion: 1
|
||||||
envPrefix: CHANGIE_
|
envPrefix: CHANGIE_
|
||||||
|
|
||||||
# update the version in the cargo file, on release
|
# update the version in relevant files
|
||||||
replacements:
|
replacements:
|
||||||
- path: Cargo.toml
|
- path: Cargo.toml
|
||||||
find: '^version = ".*"'
|
find: '^version = ".*"'
|
||||||
replace: 'version = "{{.VersionNoPrefix}}"'
|
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}}"'
|
||||||
|
|||||||
Reference in New Issue
Block a user