Add target-branch output

This commit is contained in:
Carles Pina i Estany 2023-05-19 16:30:18 +02:00
parent d63a102c8f
commit 3fc9348237

View File

@ -149,6 +149,10 @@ git config --global --add safe.directory "$CLONE_DIR"
if [ "$CREATE_TARGET_BRANCH_IF_NEEDED" = "true" ] if [ "$CREATE_TARGET_BRANCH_IF_NEEDED" = "true" ]
then then
echo "[+] Switch to the TARGET_BRANCH" echo "[+] Switch to the TARGET_BRANCH"
echo "[+] git branch"
git branch
echo "[+] git branch -r"
git branch -r
git switch -c "$TARGET_BRANCH" git switch -c "$TARGET_BRANCH"
fi fi