add --version flag to output upkr version

This commit is contained in:
2022-10-17 01:03:01 +02:00
parent 887722a66b
commit d7bdc8c1c7
2 changed files with 7 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
VERSION=0.2.0
VERSION := $(shell cargo run --release -- --version)
all: clean upkr-linux-$(VERSION).tgz upkr-windows-$(VERSION).zip