From 57c998beccbab1a6e6b8d6ba2b43d6712be5ee3a Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Thu, 1 Aug 2013 11:02:49 -0400 Subject: [PATCH 1/4] Automate publishing of the changelogs. Publishes the changelog on github using a gh-pages branch. This implementation changes back and forth between git branches without updating the working tree. This should be faster because the branches are unrelated so updating the tree would require removing and recreating all the files. --- build.xml | 39 +++++++++++++++++++++++++++++++++++- res/xml/changelog_master.xml | 8 ++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 65a87cb15..cef6b9422 100644 --- a/build.xml +++ b/build.xml @@ -155,7 +155,7 @@ - + Bumped K-9 to ${version-name} @@ -166,6 +166,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/xml/changelog_master.xml b/res/xml/changelog_master.xml index 76b459098..06dc8a2bc 100644 --- a/res/xml/changelog_master.xml +++ b/res/xml/changelog_master.xml @@ -1,4 +1,12 @@ + + Move 'share' menu item back, at least for the moment From 6e6208139054871444b86e2741b284e4c8075120 Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Thu, 1 Aug 2013 10:54:26 -0400 Subject: [PATCH 2/4] More robust parsing of changelog in build.xml --- build.xml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index cef6b9422..14c61ca04 100644 --- a/build.xml +++ b/build.xml @@ -86,6 +86,7 @@ + @@ -139,9 +140,29 @@ Setting version to ${version-name} - - + + + + + + + No changelog for ${version-name}. + + + + + + + + + Uncomitted changelog edits. + + + - + From b8b21a0bcbff9ee45ed5b6e0000feb044540154b Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Thu, 1 Aug 2013 10:54:45 -0400 Subject: [PATCH 3/4] Make sure the gh-pages branch is pushed. --- build.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.xml b/build.xml index 14c61ca04..25c92401f 100644 --- a/build.xml +++ b/build.xml @@ -225,10 +225,7 @@ - - - - + From b795106289d86d4145d5010191c40e9a0b60bee2 Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Thu, 1 Aug 2013 11:21:52 -0400 Subject: [PATCH 4/4] New "-pre-bump-check" target for sanity checks. Perform all sanity checks before making any changes. --- build.xml | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/build.xml b/build.xml index 25c92401f..ad55fb6b3 100644 --- a/build.xml +++ b/build.xml @@ -130,17 +130,7 @@ - - - - - - - - - - Setting version to ${version-name} - + + + + + + + + + + + + + + + + + + Setting version to ${version-name} + - + Bumped K-9 to ${version-name} @@ -191,10 +199,6 @@ - - - -