mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2025-09-03 15:35:45 -06:00
Fix stupid typo in target branch creation
This commit is contained in:
parent
a9444e55cd
commit
6b4c1a27fb
@ -142,7 +142,7 @@ git config --global --add safe.directory "$CLONE_DIR"
|
|||||||
if [ ${new_target_branch} -ne 0 ]; then
|
if [ ${new_target_branch} -ne 0 ]; then
|
||||||
echo "[+] Creating target branch ${TARGET_BRANCH}"
|
echo "[+] Creating target branch ${TARGET_BRANCH}"
|
||||||
git branch ${TARGET_BRANCH}
|
git branch ${TARGET_BRANCH}
|
||||||
git switch b1
|
git switch ${TARGET_BRANCH}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[+] Adding git commit"
|
echo "[+] Adding git commit"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user