summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:42:22 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:42:22 +0200
commit6685234895259f94dfd85bcfdfe4285928c21806 (patch)
treee662470e801bbd324c3c8082f761195d59c90c20
parentf3e43d16addd477558b60b357d3067b05f940f78 (diff)
downloadnetlink-notify-6685234895259f94dfd85bcfdfe4285928c21806.tar.gz
netlink-notify-6685234895259f94dfd85bcfdfe4285928c21806.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 5498dc9..865407d 100644
--- a/Makefile
+++ b/Makefile
@@ -81,3 +81,4 @@ distclean:
release:
git archive --format=tar.xz --prefix=netlink-notify-$(VERSION)/ $(VERSION) > netlink-notify-$(VERSION).tar.xz
gpg -ab netlink-notify-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=netlink-notify-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)