From 84a6842550e80c7c5eb20033f7bdc8f60e3f5edd Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Tue, 27 Aug 2013 20:28:06 -0400 Subject: [PATCH] Fixes for automated change log publication The build.xml script was failing if there wasn't already a gh-pages branch in the local git repo. Changes: Fetch the origin/gh-pages branch. Create a temporary "gh-pages-tmp" branch using origin/gh-pages as the starting point. And then as before, copy the changelog to the branch, push the branch back to origin, and finally delete the temporary branch. Added more comments to the script. Ref: comments on Github attached to commit k9mail/k-9@09c27d9. --- build.xml | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index ad55fb6b3..9d00bf551 100644 --- a/build.xml +++ b/build.xml @@ -87,6 +87,13 @@ + + + + + + + @@ -158,6 +165,22 @@ + + + + + + + + Temporary branch ${gh-pages-tmp} exists (but should not). + + + + + + + + @@ -199,29 +222,52 @@ + + + + + + + + + - + + + + + + + + + + + + + + + @@ -229,7 +275,12 @@ - + + + + + +