summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-10-31 11:16:32 -0400
committerPeter Jones <pjones@redhat.com>2013-10-31 11:16:32 -0400
commitcb874edd0bbb02e69c91512b879713769675402b (patch)
treede988338640fd7d9d33ac0946b3b1381624a98b2
parent56ebe598fedc6250b3ce9b4e8d9947ce3d9df919 (diff)
downloadefi-boot-shim-cb874edd0bbb02e69c91512b879713769675402b.tar.gz
efi-boot-shim-cb874edd0bbb02e69c91512b879713769675402b.zip
Make tag its own make target, and make it sign tags.
Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ab2eb8f9..e928e3ab 100644
--- a/Makefile
+++ b/Makefile
@@ -136,8 +136,10 @@ test-archive:
@rm -rf /tmp/shim-$(VERSION)
@echo "The archive is in shim-$(VERSION).tar.bz2"
-archive:
- git tag $(GITTAG) refs/heads/master
+tag:
+ git tag --sign $(GITTAG) refs/heads/master
+
+archive: tag
@rm -rf /tmp/shim-$(VERSION) /tmp/shim-$(VERSION)-tmp
@mkdir -p /tmp/shim-$(VERSION)-tmp
@git archive --format=tar $(GITTAG) | ( cd /tmp/shim-$(VERSION)-tmp/ ; tar x )