Pull every repository

This commit is contained in:
Dennis Eichhorn 2015-12-22 19:45:03 +01:00
parent bfd4d5d97b
commit 7f33769ea3

View File

@ -15,6 +15,7 @@ mkdir -p ${ROOT_PATH}/${BUILD_PATH}/docs >> ${ROOT_PATH}/${BUILD_PATH}/logs/buil
# Handling git
cd ${ROOT_PATH} && git fetch --all && git reset --hard origin/${GIT_BRANCH} && git pull >> ${ROOT_PATH}/${BUILD_PATH}/logs/build.log
find . -maxdepth 1 -type d -exec sh -c '(cd {} && git pull)' ';'
# Permission handling
chmod -R 777 ${ROOT_PATH}