Helpers to bump version number
This commit is contained in:
parent
5ca7a25e8d
commit
13ac352a10
6
Makefile
Normal file
6
Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
.PHONEY: commit
|
||||
commit:
|
||||
bash scripts/update-crate-version.sh
|
||||
git push
|
||||
|
||||
all: commit
|
||||
5
scripts/update-crate-version.sh
Executable file
5
scripts/update-crate-version.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!env bash
|
||||
set -e -x
|
||||
cargo-set-version set-version --bump patch
|
||||
VERSION="$(awk -F\" '/^version/ {print $2}' server/Cargo.toml)"
|
||||
git commit */Cargo.toml -m "Bumping version to ${VERSION:?}"
|
||||
Loading…
x
Reference in New Issue
Block a user