aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-05-30 10:47:53 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-05-31 21:27:38 +0200
commit84d8768b9e3fa81d6ecd84e2503098f75f048858 (patch)
tree32f3cb9715228f4c7e4418d42b73fe5deedde154
parent2885c76fbfc2d2b59994b969761cad8940a0a2f7 (diff)
downloadmpd-notification-84d8768b9e3fa81d6ecd84e2503098f75f048858.tar.gz
mpd-notification-84d8768b9e3fa81d6ecd84e2503098f75f048858.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 d9d9f59..78084c3 100644
--- a/Makefile
+++ b/Makefile
@@ -65,3 +65,4 @@ distclean:
release:
git archive --format=tar.xz --prefix=mpd-notification-$(VERSION)/ $(VERSION) > mpd-notification-$(VERSION).tar.xz
gpg -ab mpd-notification-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=mpd-notification-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)