From 3540220979d221c18587f2e3e1558c10d3cc5823 Mon Sep 17 00:00:00 2001 From: Christian Edward Gruber Date: Fri, 10 Oct 2014 13:13:55 -0700 Subject: [PATCH] Only create the parent, so the mv operation works cleanly. --- util/generate-latest-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/generate-latest-docs.sh b/util/generate-latest-docs.sh index c35444eeb22..b68df0c4a58 100755 --- a/util/generate-latest-docs.sh +++ b/util/generate-latest-docs.sh @@ -15,7 +15,7 @@ if [ "$TRAVIS_REPO_SLUG" == "google/dagger" ] && \ git config --global user.email "travis@travis-ci.org" git config --global user.name "travis-ci" git rm -rf api/latest - mkdir -p api/latest + mkdir -p api mv ${TARGET}/site/apidocs api/latest git add -f api/latest git commit -m "Lastest javadoc on successful travis build $TRAVIS_BUILD_NUMBER auto-pushed to gh-pages"