Skip to content

Commit 4779771

Browse files
committed
Update the gh-pages branch
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`.
1 parent af7b0e3 commit 4779771

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

build.xml

+9
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,15 @@
806806
</target>
807807

808808

809+
<!--
810+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
811+
Build site and update GH pages for publishing
812+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
813+
-->
814+
<target name="updateSite" depends="buildSite,updateGhPages" description="Update the Gitblit pages site" >
815+
</target>
816+
817+
809818
<!--
810819
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
811820
Publish site to site hosting service

release.template

+9
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ git add .
6363
git commit -m "${project.version} artifacts"
6464
cd ${project.directory}
6565

66+
67+
# build RELEASE site
68+
echo ""
69+
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
70+
echo "Updating ${project.version} website"
71+
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
72+
echo ""
73+
$antCmd updateSite
74+
6675
# upload artifacts
6776
echo ""
6877
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"

0 commit comments

Comments
 (0)