Added repo updates
This commit is contained in:
parent
67db48d53f
commit
b2b409b918
|
@ -40,6 +40,15 @@ tools=(
|
||||||
GIT_ROOT=$(git rev-parse --show-toplevel)
|
GIT_ROOT=$(git rev-parse --show-toplevel)
|
||||||
cd ${GIT_ROOT}
|
cd ${GIT_ROOT}
|
||||||
|
|
||||||
|
if [[ ${1} == "update" ]]; then
|
||||||
|
echo "Updating repos"
|
||||||
|
cd ${GIT_ROOT}/private/
|
||||||
|
git pull origin main
|
||||||
|
|
||||||
|
cd ${GIT_ROOT}
|
||||||
|
git pull origin main
|
||||||
|
fi
|
||||||
|
|
||||||
for file in $(ls -1 ./**/deploy.zsh); do
|
for file in $(ls -1 ./**/deploy.zsh); do
|
||||||
chmod +x ${file}
|
chmod +x ${file}
|
||||||
echo "Executing ${file}"
|
echo "Executing ${file}"
|
||||||
|
|
Loading…
Reference in New Issue