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
commitacac33809428862c9b37a8b4a7a46e6ce7bd5cd0 (patch)
treede988338640fd7d9d33ac0946b3b1381624a98b2
parentb2dd8614139d187b568e9ccf73b70156472d0b54 (diff)
downloadefi-boot-shim-acac33809428862c9b37a8b4a7a46e6ce7bd5cd0.tar.gz
efi-boot-shim-acac33809428862c9b37a8b4a7a46e6ce7bd5cd0.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 )