Helpers to bump version number

This commit is contained in:
Bill Thiede 2024-09-01 15:37:00 -07:00
parent 5ca7a25e8d
commit 13ac352a10
2 changed files with 11 additions and 0 deletions

6
Makefile Normal file
View File

@ -0,0 +1,6 @@
.PHONEY: commit
commit:
bash scripts/update-crate-version.sh
git push
all: commit

View 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:?}"