Makefile: Make the "make release" target push the new tag.
authorCarl Worth <cworth@cworth.org>
Mon, 5 Apr 2010 22:56:23 +0000 (15:56 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 5 Apr 2010 22:56:23 +0000 (15:56 -0700)
Otherwise I'm sure I'll always forget to push it.

Makefile.local
RELEASING

index 4a6e3aeb23a31adb99811888775c31a58c7516f3..d78f61322f0b113f908bc60da061722cc6399c04 100644 (file)
@@ -81,6 +81,7 @@ release: release-verify-newer $(TAR_FILE) $(SHA1_FILE) $(GPG_FILE)
        mv $(TAR_FILE) $(SHA1_FILE) $(GPG_FILE) releases
        ssh $(RELEASE_HOST) "rm -f $(RELEASE_DIR)/LATEST-$(PACKAGE)-[0-9]* && ln -s $(TAR_FILE) $(RELEASE_DIR)/LATEST-$(PACKAGE)-$(VERSION)"
        git tag -s -m "$(PACKAGE) $(VERSION) release" $(VERSION)
+       git push origin $(VERSION)
 
 .PHONY: release-verify-version
 release-verify-version:
index 3a1c6ddbcad8522ebbf8b96874faf5503228d94d..0ee39bd1c953570912d28cf248be449d8c2d99f0 100644 (file)
--- a/RELEASING
+++ b/RELEASING
@@ -60,6 +60,7 @@ Here are the steps to follow to create a new notmuch release:
          the tag with your GPG key (asks for your GPG password, and you
          may need to set GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL to match
          your public-key's setting or this fails.)
+       * Push that tag
        * Provide some text for the release announcement (see below).
          If for some reason you lost this message, "make release-publish-message"
          prints it for you.