aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:41:06 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-06-06 14:41:06 +0200
commitcc8653d89f5fa5edde560fbee8a7baaa80fd9bdf (patch)
treeb4635e3a96eb50c40c3a8ee92a17b041ab39a444
parent2c1c626ca971741ffca2ed22d77545f6befe0632 (diff)
downloadmkinitcpio-ykfde-cc8653d89f5fa5edde560fbee8a7baaa80fd9bdf.tar.gz
mkinitcpio-ykfde-cc8653d89f5fa5edde560fbee8a7baaa80fd9bdf.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 e4ce4b0..34e7e33 100644
--- a/Makefile
+++ b/Makefile
@@ -72,3 +72,4 @@ release:
gpg -ab mkinitcpio-ykfde-$(VERSION).tar.xz
git archive --format=tar.gz --prefix=mkinitcpio-ykfde-$(VERSION)/ $(VERSION) > mkinitcpio-ykfde-$(VERSION).tar.gz
gpg -ab mkinitcpio-ykfde-$(VERSION).tar.gz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=mkinitcpio-ykfde-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)