aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:35:25 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:35:25 +0200
commit7a5bed58c58c2a7f152f6f63b768614b6ccb682b (patch)
tree327b3c122ace4293bca19e56684f905a52a8e0e3 /Makefile
parent838a706efed5a193fe835186ea23b86d5e724fdf (diff)
downloaddyndhcpd-7a5bed58c58c2a7f152f6f63b768614b6ccb682b.tar.gz
dyndhcpd-7a5bed58c58c2a7f152f6f63b768614b6ccb682b.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 5e1e012..99085c2 100644
--- a/Makefile
+++ b/Makefile
@@ -50,3 +50,4 @@ distclean:
release:
git archive --format=tar.xz --prefix=dyndhcpd-$(VERSION)/ $(VERSION) > dyndhcpd-$(VERSION).tar.xz
gpg -ab dyndhcpd-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=dyndhcpd-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)