Update release makefile

This commit is contained in:
Bill Thiede 2024-09-01 15:40:19 -07:00
parent 61649e1e04
commit 3efe90ca21
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -2,4 +2,4 @@
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:?}"
git commit Cargo.lock */Cargo.toml -m "Bumping version to ${VERSION:?}"