incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject incubator git commit: Also build the SVN bits with the git website.
Date Sat, 08 Jul 2017 23:40:17 GMT
Repository: incubator
Updated Branches:
  refs/heads/master 77571fe45 -> 413487a5d


Also build the SVN bits with the git website.


Project: http://git-wip-us.apache.org/repos/asf/incubator/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator/commit/413487a5
Tree: http://git-wip-us.apache.org/repos/asf/incubator/tree/413487a5
Diff: http://git-wip-us.apache.org/repos/asf/incubator/diff/413487a5

Branch: refs/heads/master
Commit: 413487a5d3e53e937f7b320c9e5b2b5b9980c2e9
Parents: 77571fe
Author: John D. Ament <johndament@apache.org>
Authored: Sat Jul 8 19:36:39 2017 -0400
Committer: John D. Ament <johndament@apache.org>
Committed: Sat Jul 8 19:40:07 2017 -0400

----------------------------------------------------------------------
 build_site.sh | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator/blob/413487a5/build_site.sh
----------------------------------------------------------------------
diff --git a/build_site.sh b/build_site.sh
index 61bdb33..113ffdf 100755
--- a/build_site.sh
+++ b/build_site.sh
@@ -1,9 +1,28 @@
 #!/bin/bash
 
 WORKDIR=/tmp/incubator-site
+SVN_CO_DIR=/tmp/incubator-site-content
+SVN_BUILD_DIR=/tmp/incubator-site-build
+SVN_REPO=http://svn.apache.org/repos/asf/incubator/public/trunk/
+
+# build the git bits
 rm -rf $WORKDIR
 mkdir -p $WORKDIR
 ./bake.sh -b . $WORKDIR
+
+# build the svn bits
+rm -rf $SVN_CO_DIR
+rm -rf $SVN_BUILD_DIR
+svn co $SVN_REPO $SVN_CO_DIR
+(
+    cd $SVN_CO_DIR
+    ant docs -Ddocs.dest=$SVN_BUILD_DIR
+    mv $SVN_CO_DIR/ip-clearance $WORKDIR
+    mv $SVN_CO_DIR/projects $WORKDIR
+    mv $SVN_CO_DIR/clutch $WORKDIR
+)
+
+# push all of the results to asf-site
 git checkout asf-site
 git clean -f -d
 git pull origin asf-site


---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message