Sign sources tarball during the release
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,4 +1,5 @@
|
||||
BIN ?= browserpass
|
||||
VERSION ?= undefined
|
||||
|
||||
APP_ID = com.github.browserpass.native
|
||||
OS = $(shell uname -s)
|
||||
@@ -42,6 +43,9 @@ clean:
|
||||
.PHONY: dist
|
||||
dist: clean browserpass-linux64 browserpass-darwinx64 browserpass-openbsd64 browserpass-freebsd64 browserpass-windows64
|
||||
mkdir -p dist
|
||||
|
||||
git archive -o dist/$(VERSION).tar.gz --format tar.gz --prefix=browserpass-native-$(VERSION)/ $(VERSION)
|
||||
|
||||
zip -FS dist/browserpass-linux64 browserpass-linux64 browser-files/* Makefile README.md LICENSE
|
||||
zip -FS dist/browserpass-darwinx64 browserpass-darwinx64 browser-files/* Makefile README.md LICENSE
|
||||
zip -FS dist/browserpass-openbsd64 browserpass-openbsd64 browser-files/* Makefile README.md LICENSE
|
||||
@@ -52,6 +56,8 @@ dist: clean browserpass-linux64 browserpass-darwinx64 browserpass-openbsd64 brow
|
||||
gpg --detach-sign "$$file"; \
|
||||
done
|
||||
|
||||
rm -f dist/$(VERSION).tar.gz
|
||||
|
||||
#######################
|
||||
# For user installation
|
||||
|
||||
|
Reference in New Issue
Block a user