From cb163a14e9a1723af0c67fc0ec5f5c5a50b67d7e Mon Sep 17 00:00:00 2001 From: Avril Date: Mon, 12 Oct 2020 07:31:55 +0100 Subject: [PATCH] Packaging version 0.7.1 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3730f25..bc333f4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ FEATURES:="api,always-aggregate" +VERSION:=`cargo read-manifest | rematch - 'version":"([0-9\.]+)"' 1` markov: cargo build --release --features $(FEATURES) @@ -22,5 +23,7 @@ uninstall: rm -f /usr/local/bin/markov package: + git add . + git commit -S -m "Packaging version $(VERSION)" cargo package - + mv ./target/package/markov-$(VERSION).crate{,.gz}