aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:44:46 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:44:46 +0200
commit0a0feaa8887c9e36a0a06b7785e2eba161a1efe6 (patch)
tree5b25a2b4dc2fb7404e0d7d3f8f2667c2c5b080ef
parent1e2ec88aa93d7084d1b403c1cfc9b803dfe35b4a (diff)
downloadnullshell-0a0feaa8887c9e36a0a06b7785e2eba161a1efe6.tar.gz
nullshell-0a0feaa8887c9e36a0a06b7785e2eba161a1efe6.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 91bc5d2..86b98a7 100644
--- a/Makefile
+++ b/Makefile
@@ -49,3 +49,4 @@ distclean:
release:
git archive --format=tar.xz --prefix=nullshell-$(VERSION)/ $(VERSION) > nullshell-$(VERSION).tar.xz
gpg -ab nullshell-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=nullshell-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)