~calmbit/suki

0e9ff63383fb868b0dcf5e384028a8e92017404f — CalmBit 7 months ago f92a439
add support for ddv semver
1 files changed, 10 insertions(+), 0 deletions(-)

A contrib/_incr_version
A contrib/_incr_version => contrib/_incr_version +10 -0
@@ 0,0 1,10 @@
#!/bin/sh -eu
old_version="$1"
new_version="$2"
sed -i '' "s/version = \"$old_version\"/version = \"$new_version\"/g" Cargo.toml
cargo update

git add Cargo.toml
git add Cargo.lock

git commit -m "Update version to $new_version"
\ No newline at end of file