From 2940eb23e2b6f396b44d28fff558dfb6e5b1532a Mon Sep 17 00:00:00 2001 From: Steven Jardine Date: Wed, 24 Feb 2016 16:38:26 -0700 Subject: [PATCH] Fixed bug with extras apidoc update. --- .utility/update_site_apidocs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.utility/update_site_apidocs.sh b/.utility/update_site_apidocs.sh index d0c3d0e4..e090c8ed 100755 --- a/.utility/update_site_apidocs.sh +++ b/.utility/update_site_apidocs.sh @@ -21,7 +21,9 @@ git clone --quiet --branch=gh-pages https://$GH_TOKEN@github.com/gwtbootstrap3/g cd gh-pages # remove the javadoc directories from git. +if [[ -d ./snapshot/extras-apidocs ]]; then git rm -rf ./snapshot/extras-apidocs +fi # copy the new javadoc to snapshot dir. cp -Rf $HOME/javadoc-latest ./snapshot/extras-apidocs