aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-08-14 10:26:26 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-08-14 10:26:26 +0200
commit9a9ee7b9e6f5b6ec479ef2cbfe7e49972a2a0825 (patch)
treef6597576cd14cda65f166466be0c4dbda650789c /Makefile
parent7ff4a476368734756ae0f066f9426b029aafaa93 (diff)
downloadnthash-9a9ee7b9e6f5b6ec479ef2cbfe7e49972a2a0825.tar.gz
nthash-9a9ee7b9e6f5b6ec479ef2cbfe7e49972a2a0825.tar.zst
release: add comment with file name to signatures
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dea5e83..c743093 100644
--- a/Makefile
+++ b/Makefile
@@ -49,5 +49,5 @@ clean:
release:
git archive --format=tar.xz --prefix=nthash-$(VERSION)/ $(VERSION) > nthash-$(VERSION).tar.xz
- gpg -ab nthash-$(VERSION).tar.xz
- git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=nthash-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)
+ gpg --armor --detach-sign --comment nthash-$(VERSION).tar.xz nthash-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=nthash-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign --comment nthash-$(VERSION).tar | git hash-object -w --stdin) $(VERSION)