You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mi...@apache.org on 2015/03/05 05:55:04 UTC
hbase git commit: Fixed bug in publication script
Repository: hbase
Updated Branches:
refs/heads/master 0bdab85b0 -> 5bd27af8b
Fixed bug in publication script
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5bd27af8
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5bd27af8
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5bd27af8
Branch: refs/heads/master
Commit: 5bd27af8b035eaf1ffa3d1e5e4a6cf35324ef8f7
Parents: 0bdab85
Author: Misty Stanley-Jones <ms...@cloudera.com>
Authored: Thu Mar 5 10:05:10 2015 +1000
Committer: Misty Stanley-Jones <ms...@cloudera.com>
Committed: Thu Mar 5 12:06:46 2015 +1000
----------------------------------------------------------------------
dev-support/publish_hbase_website.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/5bd27af8/dev-support/publish_hbase_website.sh
----------------------------------------------------------------------
diff --git a/dev-support/publish_hbase_website.sh b/dev-support/publish_hbase_website.sh
index 0350a6d..65d2b94 100755
--- a/dev-support/publish_hbase_website.sh
+++ b/dev-support/publish_hbase_website.sh
@@ -83,12 +83,12 @@ echo "Updating Git"
git checkout master
git pull
-# Generate the site to ~/git/hbase/target/stage
+# Generate the site to ~/git/hbase/target/site
if [ $INTERACTIVE ]; then
read -p "Build the site? (y/n)" yn
case $yn in
[Yy]* )
- mvn clean package javadoc:aggregate site site:stage -DskipTests
+ mvn clean package javadoc:aggregate site post-site site:stage -DskipTests
status=$?
if [ $status -ne 0 ]; then
echo "The website does not build. Aborting."
@@ -101,7 +101,7 @@ if [ $INTERACTIVE ]; then
esac
else
echo "Building the site in auto mode."
- mvn clean package javadoc:aggregate site site:stage -DskipTests
+ mvn clean package javadoc:aggregate site post-site site:stage -DskipTests
status=$?
if [ $status != 0 ]; then
echo "The website does not build. Aborting."
@@ -161,7 +161,7 @@ elif [ `uname` == "Linux" ]; then
COPYOPTS='-au'
fi
-cp $COPYOPTS $GIT_DIR/target/site/* .
+cp $COPYOPTS $GIT_DIR/target/staging/* .
# Look for things we need to fix up in svn