Skip to content

Commit

Permalink
Make git archive signature match GitHub tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Mar 21, 2023
1 parent 514c0b8 commit 0fbc329
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 @@ -18,7 +18,7 @@ sign:
[ -n "$(VERSION)" ] || { echo >&2 "VERSION is not set"; exit 1; }
rm -rf release
mkdir -p release
git archive -o "release/$(BIN)-$(VERSION).tar.gz" --format tar.gz --prefix "$(BIN)-$(VERSION)/" "$(VERSION)"
git -c tar.tar.gz.command="gzip -cn" archive -o "release/$(BIN)-$(VERSION).tar.gz" --format tar.gz --prefix "$(BIN)-$(VERSION)/" "$(VERSION)"
gpg --detach-sign --yes "release/$(BIN)-$(VERSION).tar.gz"
rm "release/$(BIN)-$(VERSION).tar.gz"

Expand Down

0 comments on commit 0fbc329

Please sign in to comment.