summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-05-31 21:23:21 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-05-31 21:30:00 +0200
commitdecdf95bf2dd328141937651d0e59e506f937df7 (patch)
treec00eaa710d1e6c662e475a86a17a0ad0522bbf4c /Makefile
parentf2e2557742a0ddfe12d6c92048a1c7107a2e120f (diff)
downloadpacman-offline-decdf95bf2dd328141937651d0e59e506f937df7.tar.gz
pacman-offline-decdf95bf2dd328141937651d0e59e506f937df7.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 904a68c..bcd1fcb 100644
--- a/Makefile
+++ b/Makefile
@@ -30,3 +30,4 @@ clean:
release:
git archive --format=tar.xz --prefix=pacman-offline-$(VERSION)/ $(VERSION) > pacman-offline-$(VERSION).tar.xz
gpg -ab pacman-offline-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=pacman-offline-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)