only:more logging

This commit is contained in:
Andrey 2024-06-01 14:21:33 -04:00
parent 8dfc3beb5e
commit 4dfd2a371e
1 changed files with 6 additions and 1 deletions

View File

@ -8,10 +8,15 @@ if [[ -z "$SUBMODULE" || -z "$BRANCH" ]]; then
exit -1 exit -1
fi fi
echo "Running with SUBMODULE=[$SUBMODULE] and BRANCH=[$BRANCH]" echo "Switching SUBMODULE=[$SUBMODULE] to BRANCH=[$BRANCH]"
git submodule set-branch -b $BRANCH $SUBMODULE git submodule set-branch -b $BRANCH $SUBMODULE
git submodule sync git submodule sync
git status
git add $SUBMODULE git add $SUBMODULE
git add .gitmodules git add .gitmodules
git commit -am "GHA says switch $SUBMODULE branch to $BRANCH" git commit -am "GHA says switch $SUBMODULE branch to $BRANCH"
echo Done, plaese take of push!
git status