The site was generated, but updating the gh-pages branch was included in the `publishSite` target. So a new target is added and called, `updateSite`.tags/r1.9.0
@@ -806,6 +806,15 @@ | |||
</target> | |||
<!-- | |||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
Build site and update GH pages for publishing | |||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
--> | |||
<target name="updateSite" depends="buildSite,updateGhPages" description="Update the Gitblit pages site" > | |||
</target> | |||
<!-- | |||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
Publish site to site hosting service |
@@ -63,6 +63,15 @@ git add . | |||
git commit -m "${project.version} artifacts" | |||
cd ${project.directory} | |||
# build RELEASE site | |||
echo "" | |||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" | |||
echo "Updating ${project.version} website" | |||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" | |||
echo "" | |||
$antCmd updateSite | |||
# upload artifacts | |||
echo "" | |||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" |