This commit is contained in:
luk.lu
2022-10-24 12:27:25 +08:00
parent 439c4d6675
commit fcd08cd98e
8 changed files with 24 additions and 21 deletions

View File

@@ -44,11 +44,11 @@ then
fi
echo ""
find . -mindepth 1 -maxdepth 3 -type d -name '?*' | grep -v 'node_modules' | while read repo
find . -mindepth 1 -maxdepth 3 -type d -name '[^.]*' | grep -v 'node_modules' | while read repo
do
if [ -d "$repo/.git" ]
then
echo "---- git commit & push [`pwd`/$repo] ----"
echo "---- git commit & push [$repo] ----"
pushd "$repo"
git add . && git commit -m "$COMMIT_MESSAGE" && git push
echo ""