From 3efe90ca217a276e3c70914834461cc3cbd588ec Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Sun, 1 Sep 2024 15:40:19 -0700 Subject: [PATCH] Update release makefile --- Makefile | 6 +++--- scripts/update-crate-version.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f6a9541..66d9641 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -.PHONEY: commit -commit: +.PHONEY: release +release: bash scripts/update-crate-version.sh git push -all: commit +all: release diff --git a/scripts/update-crate-version.sh b/scripts/update-crate-version.sh index 6da9bea..9103279 100755 --- a/scripts/update-crate-version.sh +++ b/scripts/update-crate-version.sh @@ -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:?}"