Skip to content

Commit

Permalink
make dist: use git archive command compatible with Github
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Mar 4, 2023
1 parent 5817754 commit 88eb769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ dist: clean vendor browserpass-linux64 browserpass-arm browserpass-arm64 browser

mkdir -p dist
mv "$(TMP)/"*.tar.gz "$(TMP)/"*.msi dist
git archive -o dist/browserpass-native-$(VERSION).tar.gz --format tar.gz --prefix=browserpass-native-$(VERSION)/ $(VERSION)
git -c tar.tar.gz.command="gzip -cn" archive -o dist/browserpass-native-$(VERSION).tar.gz --format tar.gz --prefix=browserpass-native-$(VERSION)/ $(VERSION)

for file in dist/*; do \
gpg --detach-sign --armor "$$file"; \
Expand Down

0 comments on commit 88eb769

Please sign in to comment.