Update release makefile
This commit is contained in:
parent
61649e1e04
commit
3efe90ca21
6
Makefile
6
Makefile
@ -1,6 +1,6 @@
|
|||||||
.PHONEY: commit
|
.PHONEY: release
|
||||||
commit:
|
release:
|
||||||
bash scripts/update-crate-version.sh
|
bash scripts/update-crate-version.sh
|
||||||
git push
|
git push
|
||||||
|
|
||||||
all: commit
|
all: release
|
||||||
|
|||||||
@ -2,4 +2,4 @@
|
|||||||
set -e -x
|
set -e -x
|
||||||
cargo-set-version set-version --bump patch
|
cargo-set-version set-version --bump patch
|
||||||
VERSION="$(awk -F\" '/^version/ {print $2}' server/Cargo.toml)"
|
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:?}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user