@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
+make -C $LILYPOND_BUILD_DIR po-replace
+mv $LILYPOND_BUILD_DIR/po/lilypond.pot po/
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 "PO: update template." po/lilypond.pot
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
@enumerate
-@item Switch back to master and get the updated news:
+@item Update the current staging branch with the current news:
@example
+git fetch
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:
git push origin HEAD:staging
@end example
+If the push fails with a message like
+
+@example
+ ! [rejected] HEAD -> staging (non-fast-forward)
+@end example
+
+@noindent
+it means that somebody else updated the staging branch while you were
+preparing your change. In that case, you need to restart the Post
+Release process. Otherwise, proceed:
@item (for now) do a @code{make doc} and manually upload:
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
@item
Run convert-ly on all files, bump parser minimum version.
+@item
+Update lilypond.pot:
+
+@example
+make -C $LILYPOND_BUILD_DIR po-replace
+mv $LILYPOND_BUILD_DIR/po/lilypond.pot po/
+@end example
+
@item
Make directories on lilypond.org:
@itemize
@item
-submit pots for translation: send url of tarball to
-translation@@iro.umontreal.ca, mentioning lilypond-VERSION.pot
+submit po template for translation: send url of tarball to
+coordinator@@translationproject.org, mentioning lilypond-VERSION.pot
@item
update links to distros providing lilypond packages? link in: