only:more logging
This commit is contained in:
parent
8dfc3beb5e
commit
4dfd2a371e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue