瀏覽代碼

_build/deploy-phpdoc-branch.sh: Don't forget to commit phpDocs cache

Daniel Rudolf 9 年之前
父節點
當前提交
024f994d9e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      _build/deploy-phpdoc-branch.sh

+ 2 - 2
_build/deploy-phpdoc-branch.sh

@@ -39,10 +39,10 @@ generate-phpdoc.sh \
 
 
 # commit phpDocs
 # commit phpDocs
 echo "Committing changes..."
 echo "Committing changes..."
-git add "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID"
+git add "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID.cache" "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID"
 git commit \
 git commit \
     --message="Update phpDocumentor class docs for $TRAVIS_BRANCH branch @ $TRAVIS_COMMIT" \
     --message="Update phpDocumentor class docs for $TRAVIS_BRANCH branch @ $TRAVIS_COMMIT" \
-    "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID"
+    "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID.cache" "$PHPDOC_GIT_DIR/phpDoc/$PHPDOC_ID"
 [ $? -eq 0 ] || exit 1
 [ $? -eq 0 ] || exit 1
 echo
 echo