aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:46:43 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:46:43 +0200
commitb3c90dc4262d33872e64615964e5e0479cdb385f (patch)
tree34e86b0a03135d015d6bb800a0d09f79d2df5df1
parent39272e5fef8cbc971c5c6f486cefe4d8c682cbfb (diff)
downloadpacredir-b3c90dc4262d33872e64615964e5e0479cdb385f.tar.gz
pacredir-b3c90dc4262d33872e64615964e5e0479cdb385f.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 dd5b706..fd13a48 100644
--- a/Makefile
+++ b/Makefile
@@ -81,3 +81,4 @@ distclean:
release:
git archive --format=tar.xz --prefix=pacredir-$(VERSION)/ $(VERSION) > pacredir-$(VERSION).tar.xz
gpg -ab pacredir-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=pacredir-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)