From: rocketraman@fastmail.fm
To: git@vger.kernel.org
Subject: [PATCH 2/2] Add feature release instructions to gitworkflows man page
Date: Wed, 25 Mar 2009 21:56:15 -0400 [thread overview]
Message-ID: <1238032575-10987-2-git-send-email-rocketraman@fastmail.fm> (raw)
In-Reply-To: <1238032575-10987-1-git-send-email-rocketraman@fastmail.fm>
From: Raman Gupta <raman@rocketraman.com>
Based on a mailing list discussion, add a description of the workflow,
and associated commands, for creating a feature release.
Signed-off-by: Raman Gupta <raman@rocketraman.com>
---
Documentation/gitworkflows.txt | 69 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/Documentation/gitworkflows.txt b/Documentation/gitworkflows.txt
index 2b021e3..1796878 100644
--- a/Documentation/gitworkflows.txt
+++ b/Documentation/gitworkflows.txt
@@ -348,6 +348,75 @@ in patches to figure out the merge base. See linkgit:git-am[1] for
other options.
+RELEASE WORKFLOW
+----------------
+
+The maintainer may use the following release workflow:
+
+He first tags the tip of 'master' with a release tag, then he updates
+the 'maint' branch to the current tip of 'master' for managing future
+maintenance fixes on the current release, and lastly he optionally
+rebuilds 'next' from the tip of 'master'.
+
+
+Release Tagging
+~~~~~~~~~~~~~~~
+
+The new feature release is tagged on 'master' with a tag matching
+vX.Y.Z, where X.Y.Z is the new feature release version.
+
+.Release tagging
+[caption="Recipe: "]
+==========================================
+`git tag -s -m GIT "vX.Y.Z" vX.Y.Z`
+==========================================
+
+
+Maintenance branch update
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The current maintenance branch is optionally tracked with the older
+release version number to allow for further maintenance releases on
+the older codebase.
+
+.Track maint
+[caption="Recipe: "]
+=====================================
+`git branch maint-X.Y.(Z-1) maint`
+=====================================
+
+'maint' is now updated to the new release code so that maintenance
+fixes can be merged for the current version.
+
+.Update maint to new release
+[caption="Recipe: "]
+=====================================
+* `git checkout maint`
+* `git merge master`
+=====================================
+
+This is equivalent to deleting maint and recreating it from master,
+but it preserves the maint reflog.
+
+Update next branch
+~~~~~~~~~~~~~~~~~~
+
+The 'next' branch may be rebuilt from the tip of 'master' using the
+surviving topics on 'next'.
+
+This step is optional. If it is done by the maintainer, then a public
+announcement will be made indicating that 'next' was rebased.
+
+.Update maint to new release
+[caption="Recipe: "]
+=====================================
+* `git branch -f next master`
+* `git merge ai/topic_in_next1`
+* `git merge ai/topic_in_next2`
+* ...
+=====================================
+
+
SEE ALSO
--------
linkgit:gittutorial[7],
--
1.6.2
next prev parent reply other threads:[~2009-03-26 1:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 1:56 [PATCH 1/2] Add feature release instructions to MaintNotes addendum rocketraman
2009-03-26 1:56 ` rocketraman [this message]
2009-03-26 6:48 ` [PATCH 2/2] Add feature release instructions to gitworkflows man page Junio C Hamano
2009-03-26 14:35 ` Raman Gupta
[not found] ` <20090326121017.6117@nanako3.lavabit.com>
2009-03-26 13:51 ` [PATCH 1/2] Add feature release instructions to MaintNotes addendum Raman Gupta
2009-03-26 20:28 ` Junio C Hamano
2009-03-26 21:37 ` Raman Gupta
-- strict thread matches above, loose matches on Subject: below --
2009-03-30 5:35 rocketraman
2009-03-30 5:35 ` [PATCH 2/2] Add feature release instructions to gitworkflows man page rocketraman
2009-03-30 6:57 ` Junio C Hamano
2009-03-30 17:59 ` Raman Gupta
2009-03-30 18:14 ` Junio C Hamano
2009-03-30 18:40 ` Raman Gupta
2009-04-01 16:15 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1238032575-10987-2-git-send-email-rocketraman@fastmail.fm \
--to=rocketraman@fastmail.fm \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).