Release target
This commit is contained in:
parent
63974cb750
commit
325aea753b
1 changed files with 5 additions and 4 deletions
9
makefile
9
makefile
|
@ -3,13 +3,14 @@ GITHASH = $(shell git rev-parse --short HEAD)
|
||||||
|
|
||||||
release:
|
release:
|
||||||
cargo build --release
|
cargo build --release
|
||||||
cp target/release/$(PROJECT) $(PROJECT)
|
tar -czf $(PROJECT)_$(GITHASH).tar.gz -C target/release $(PROJECT)
|
||||||
strip $(PROJECT)
|
tar -tvf $(PROJECT)_$(GITHASH).tar.gz
|
||||||
tar -czf $(PROJECT)_$(GITHASH).tar.gz $(PROJECT)
|
|
||||||
minisign -Sm $(PROJECT).tar.gz
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cargo clean
|
cargo clean
|
||||||
rm *.tar.gz
|
rm *.tar.gz
|
||||||
rm $(PROJECT)
|
rm $(PROJECT)
|
||||||
rm $(PROJECT).tar.gz.minisig
|
rm $(PROJECT).tar.gz.minisig
|
||||||
|
|
||||||
|
sign: release
|
||||||
|
minisign -Sm $(PROJECT)_$(GITHASH).tar.gz
|
||||||
|
|
Loading…
Reference in a new issue