From acac33809428862c9b37a8b4a7a46e6ce7bd5cd0 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 31 Oct 2013 11:16:32 -0400 Subject: [PATCH] Make tag its own make target, and make it sign tags. Signed-off-by: Peter Jones --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ab2eb8f..e928e3a 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 )