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
</target> | </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 | Publish site to site hosting service |
git commit -m "${project.version} artifacts" | git commit -m "${project.version} artifacts" | ||||
cd ${project.directory} | cd ${project.directory} | ||||
# build RELEASE site | |||||
echo "" | |||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" | |||||
echo "Updating ${project.version} website" | |||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" | |||||
echo "" | |||||
$antCmd updateSite | |||||
# upload artifacts | # upload artifacts | ||||
echo "" | echo "" | ||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" | echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" |