From 41a904f65ff6eacd3782087c1b0522fe5e85fbd4 Mon Sep 17 00:00:00 2001 From: Dain Nilsson Date: Tue, 18 Dec 2012 15:07:12 +0100 Subject: [PATCH] Added manual entry of KEYID to make release. --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d1e388b..68014d6 100644 --- a/Makefile +++ b/Makefile @@ -75,8 +75,6 @@ symlink: # Maintainer rules. PROJECT = $(PACKAGE) -USER = simon@yubico.com -KEYID = B9156397 $(PACKAGE)-$(VERSION).tgz: $(FILES) $(MANS) mkdir $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION)/doc @@ -106,9 +104,16 @@ clean-man: rm -f *.1 release: dist + @if test -z "$(KEYID)"; then \ + echo "Try this instead:"; \ + echo " make release KEYID=[PGPKEYID]"; \ + echo "For example:"; \ + echo " make release KEYID=2117364A"; \ + exit 1; \ + fi gpg --detach-sign --default-key $(KEYID) $(PACKAGE)-$(VERSION).tgz gpg --verify $(PACKAGE)-$(VERSION).tgz.sig - git tag -s -v $(PACKAGE)-$(VERSION) + git tag -sm "$(PACKAGE)-$(VERSION)" $(PACKAGE)-$(VERSION) git push git push --tags