From: Fredrik Thulin Date: Wed, 19 Jan 2011 10:12:53 +0000 (+0100) Subject: release: One more fix for build dir != src dir. X-Git-Tag: v1.5.0~23 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14cb4ae959d50792d5aa1c9e1776ce4388ce819a;p=yubikey-personalization.old release: One more fix for build dir != src dir. Do 'git push' before tagging to find any problems before tagging. --- diff --git a/Makefile.am b/Makefile.am index 8b49c86..7e0848b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -102,9 +102,9 @@ release: make check-doc-dist ChangeLog distcheck gpg --detach-sign --default-key $(KEYID) $(PACKAGE)-$(VERSION).tar.gz gpg --verify $(PACKAGE)-$(VERSION).tar.gz.sig - git tag -u $(KEYID)! -m $(VERSION) v$(VERSION) - git push - git push --tags + cd $(srcdir) && git push + cd $(srcdir) && git tag -u $(KEYID)! -m $(VERSION) v$(VERSION) + cd $(srcdir) && git push --tags mkdir -p ../releases/$(PACKAGE)/ && \ cp -v $(PACKAGE)-$(VERSION).tar.gz* ../releases/$(PACKAGE)/ googlecode_upload.py -s "OpenPGP signature for $(PACKAGE) $(VERSION)." \