summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Zschocke <florian.zschocke@devolo.de>2020-01-26 20:46:43 +0100
committerFlorian Zschocke <florian.zschocke@devolo.de>2020-01-27 21:48:20 +0100
commit47797715899308cebaf5a7ba003057ecc9378d8a (patch)
tree1ce1bfff520d27a0c517f6d5f8baa34e8a620142
parentaf7b0e30b76dede75f70995ca935ae59cf3a4b2e (diff)
downloadgitblit-47797715899308cebaf5a7ba003057ecc9378d8a.tar.gz
gitblit-47797715899308cebaf5a7ba003057ecc9378d8a.zip
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`.
-rw-r--r--build.xml9
-rw-r--r--release.template9
2 files changed, 18 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 144aab08..67e365ee 100644
--- a/build.xml
+++ b/build.xml
@@ -807,6 +807,15 @@
<!--
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/release.template b/release.template
index 9ea951a9..86a0b3f4 100644
--- a/release.template
+++ b/release.template
@@ -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 "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"