aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:38:41 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:38:41 +0200
commitf8aa1174b11e84e2509769873cdb6b759aadbc00 (patch)
tree44c47223ec5afa14cf740207edf9255f0c466d17 /Makefile
parenta916dafd5061cffcd4a5e258838665f1376e4785 (diff)
downloadjournal-notify-f8aa1174b11e84e2509769873cdb6b759aadbc00.tar.gz
journal-notify-f8aa1174b11e84e2509769873cdb6b759aadbc00.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 122a0f3..75f9b7c 100644
--- a/Makefile
+++ b/Makefile
@@ -57,3 +57,4 @@ distclean:
release:
git archive --format=tar.xz --prefix=journal-notify-$(VERSION)/ $(VERSION) > journal-notify-$(VERSION).tar.xz
gpg -ab journal-notify-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=journal-notify-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)