]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/contributor/release-work.itexi
Revert "CG: add updating of lilypond.pot in the release process"
[lilypond.git] / Documentation / contributor / release-work.itexi
index fdd340627ed3fd8feb6bd8b22ce981d01d3ec789..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:
@@ -219,7 +223,7 @@ git push origin HEAD:staging
 BUILD_DIR=$HOME/src/build-lilypond
 
 PICS=$BUILD_DIR/Documentation/pictures/out-www/
-EXAMPLES=$BUILD_DIR/Documentation/web/ly-examples/out-www/
+EXAMPLES=$BUILD_DIR/Documentation/ly-examples/out-www/
 
 cd $BUILD_DIR
 rsync -a $PICS graham@@lilypond.org:media/pictures