]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 2446: iffy git commands in release checklist
authorDavid Kastrup <dak@gnu.org>
Wed, 28 Mar 2012 08:09:51 +0000 (10:09 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 28 Mar 2012 09:13:29 +0000 (11:13 +0200)
Basically this stops relying on local updates of release/unstable.

Documentation/contributor/release-work.itexi

index a3b7e8671de2955a04a9243c8257e8c43161bc6f..baa68a85e468768c8defbf0d24412aaba1570134 100644 (file)
@@ -75,20 +75,24 @@ A @qq{minor release} means an update of @code{y} in @code{2.x.y}.
 
 @item
 Switch to the release branch, get changes, prep release
-announcement:
+announcement.  This requires a clean index and work tree.  If the
+checkout displays modified files, you might want to run @code{git reset
+--hard} before continuing.
 
 @example
-git checkout release/unstable
+git fetch
+git checkout origin/release/unstable
 git merge origin
 vi Documentation/web/news-front.itexi Documentation/web/news.itexi
 @end example
 
 @item
-Commit, push, switch back to master:
+Commit, push, switch back to master (or wherever else):
 
 @example
 git commit -m "Release: update news." Documentation/web/
-git push origin release/unstable
+git push origin HEAD:release/unstable
+git checkout master
 @end example
 
 @item
@@ -184,7 +188,7 @@ make lilypond-upload \
 
 @example
 git checkout origin/staging
-git merge release/unstable
+git merge origin/release/unstable
 @end example
 
 @item Update @file{VERSION} in lilypond git and upload changes: