Skip to content

Commit a66b3f1

Browse files
committed
chore(bonnie): added script to replace versions
1 parent 107b9d3 commit a66b3f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bonnie.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ release.cmd = [
191191
"git checkout stable"
192192
]
193193
release.desc = "creates a new project release and pushes it to github (cargo version must be manually bumped, needs branch 'stable')"
194+
replace-versions.cmd = "find . \\( -name \"*Cargo.toml\" -or -name \"*Cargo.toml.example\" -or -name \"*.md\" \\) -not -name \"CHANGELOG.md\" -not -path \"./target/*\" -not -path \"./website/*\" -not -path \"*.perseus*\" -exec sed -i -e 's/%old_version/%new_version/g' {} \\;"
195+
replace-versions.args = [ "old_version", "new_version" ]
194196

195197
# Publishes each package
196198
publish.cmd = [

0 commit comments

Comments
 (0)