aboutsummaryrefslogtreecommitdiffstats
path: root/update_docs_svn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_docs_svn.sh')
-rw-r--r--update_docs_svn.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/update_docs_svn.sh b/update_docs_svn.sh
index 88befc86..21993d25 100644
--- a/update_docs_svn.sh
+++ b/update_docs_svn.sh
@@ -2,11 +2,9 @@
# Script to update javadoc deployed in svn
-p=`pwd`
-
-cd gwtquery-core
+pushd gwtquery-core
mvn javadoc:javadoc
-cd $p
+popd
cp -r gwtquery-core/target/site/apidocs/* gwtquery-core/javadoc/
@@ -24,3 +22,6 @@ find gwtquery-core/javadoc/ | grep -v .svn | xargs svn add
find gwtquery-core/javadoc/ -type f -name "*html" -exec svn propset svn:mime-type text/html '{}' ';'
+
+svn commit -m 'updated javadocs' gwtquery-core/javadoc/
+