From: James Moger Date: Wed, 10 Apr 2013 14:39:58 +0000 (-0400) Subject: Tweak release template and push the new tag X-Git-Tag: v1.3.0~27 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4acb24725597249ccfed7e8288ca9f8cf8c49832;p=iciql.git Tweak release template and push the new tag --- diff --git a/build.xml b/build.xml index c70d57e..1f13859 100644 --- a/build.xml +++ b/build.xml @@ -251,10 +251,11 @@ - + + Prepare ${project.version} release - + ${project.name} ${project.version} release @@ -279,6 +280,7 @@ + diff --git a/release.template b/release.template index 7b5460d..0c08660 100644 --- a/release.template +++ b/release.template @@ -5,17 +5,17 @@ # go back one commit to RELEASE commit echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Checking out ${project.version} RELEASE commit ${project.commitId}" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" git checkout ${project.commitId} # submodules operate on a detached HEAD so we first checkout and pull master echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Preparing Maven submodule" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" cd maven git checkout master @@ -24,17 +24,17 @@ cd .. # build RELEASE artifacts, this will deploy artifacts into maven folder echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Building ${project.version} RELEASE artifacts" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" ant # commit all generated artifacts and metadata in submodule echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Committing Maven submodule ${project.version} RELEASE artifacts" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" cd maven git add . @@ -43,9 +43,9 @@ cd .. # Update master branch Maven submodule repository reference echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Updating master for Maven submodule ${project.version} RELEASE artifacts" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" git checkout master git add maven @@ -53,9 +53,9 @@ git commit -m "updated Maven submodule repository to ${project.version}" # Update gh-pages branch Maven submodule repository reference echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Updating gh-pages for Maven submodule ${project.version} RELEASE artifacts" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" git checkout gh-pages git add maven @@ -63,41 +63,41 @@ git commit -m "updated Maven submodule repository to ${project.version}" # return to release commit echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Checking out ${project.version} RELEASE commit ${project.commitId}" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" git checkout ${project.commitId} # upload artifacts echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Uploading ${project.version} artifacts" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" ant uploadArtifacts # build site, update gh-pages, and ftp upload site to hosting provider echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Building ${project.version} website" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" ant publishSite # return to project master echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Checking out master" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" git checkout master # push Maven submodule to origin echo "" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Pushing Maven submodule" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" cd maven git push origin master @@ -105,11 +105,11 @@ cd .. # push project branches echo "" -echo "************************************************************************" -echo "Pushing master and gh-pages" -echo "************************************************************************" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" +echo "Pushing master, gh-pages, and tag ${project.tag}" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "" -git push origin master gh-pages +git push origin master gh-pages tag ${project.tag} # update the Maven submodule reference git submodule update