summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:48:45 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:48:45 +0200
commit6e2bd84a0c753be4e99c1389d6136fb0e1cedf1b (patch)
tree20f0cfc66f828b0e74c310fe4436f005dfbcd276
parent04e766b2ac89a9975a87bf0801082b5706293568 (diff)
downloadudp514-journal-6e2bd84a0c753be4e99c1389d6136fb0e1cedf1b.tar.gz
udp514-journal-6e2bd84a0c753be4e99c1389d6136fb0e1cedf1b.tar.zst
release: write tar signature to git notes
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7418489..ccf8985 100644
--- a/Makefile
+++ b/Makefile
@@ -46,3 +46,4 @@ distclean:
release:
git archive --format=tar.xz --prefix=udp514-journal-$(VERSION)/ $(VERSION) > udp514-journal-$(VERSION).tar.xz
gpg -ab udp514-journal-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=udp514-journal-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)