]> err.no Git - yubikey-personalization.old/commitdiff
release: One more fix for build dir != src dir.
authorFredrik Thulin <fredrik@yubico.com>
Wed, 19 Jan 2011 10:12:53 +0000 (11:12 +0100)
committerFredrik Thulin <fredrik@yubico.com>
Wed, 19 Jan 2011 10:12:53 +0000 (11:12 +0100)
Do 'git push' before tagging to find any problems before tagging.

Makefile.am

index 8b49c86bfee49b802ea67a85f47c69d15a0056de..7e0848bc5f5f5e995f16e1d9df2ada104384f214 100644 (file)
@@ -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)." \