mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 07:25:38 +00:00
DEVELOPER_TOOLBOX: improved okonomiyaki script [skip ci]
This commit is contained in:
parent
6044f86160
commit
821662bc45
|
@ -24,7 +24,11 @@ if [[ $current_branch == feat/* && $current_branch == *okonomiyaki* ]]; then
|
||||||
git pull origin $branch
|
git pull origin $branch
|
||||||
|
|
||||||
echo "Merging $branch into $current_branch..."
|
echo "Merging $branch into $current_branch..."
|
||||||
git merge origin/$branch
|
if ! git merge origin/$branch; then
|
||||||
|
echo "Merge conflict detected while merging $branch!"
|
||||||
|
echo "Please resolve the conflict, then run 'git merge --continue' to finish the merge."
|
||||||
|
exit 1 # Exit the script due to conflict
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo "Current branch is not an okonomiyaki branch, quitting."
|
echo "Current branch is not an okonomiyaki branch, quitting."
|
||||||
|
|
Loading…
Reference in a new issue