summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-04-05 15:56:23 -0700
committerCarl Worth <cworth@cworth.org>2010-04-05 15:56:23 -0700
commit1b0830b31c5012ccdc7da9731aa314a201a443d9 (patch)
treeb2496ed29459835f3dff77cc5cc52c24f7e785e7
parent322eaebabe210c73dd631be1dd6a0a30c3e5e76f (diff)
Makefile: Make the "make release" target push the new tag.
Otherwise I'm sure I'll always forget to push it.
-rw-r--r--Makefile.local1
-rw-r--r--RELEASING1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.local b/Makefile.local
index 4a6e3ae..d78f613 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -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:
diff --git a/RELEASING b/RELEASING
index 3a1c6dd..0ee39bd 100644
--- 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.