aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:43:40 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:43:40 +0200
commite0f1a7ecd44e6e5df331ebdc2bd2d5960060845e (patch)
treee0a2e591bb7c931e69342760da1d208e4f02433e /Makefile
parent0faf87f0250e1cf196944680358b635d690bdf90 (diff)
downloadnthash-e0f1a7ecd44e6e5df331ebdc2bd2d5960060845e.tar.gz
nthash-e0f1a7ecd44e6e5df331ebdc2bd2d5960060845e.tar.zst
release: write tar signature to git notes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d3c93db..dea5e83 100644
--- a/Makefile
+++ b/Makefile
@@ -50,3 +50,4 @@ 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)