We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47e077e commit 159116aCopy full SHA for 159116a
.github/scripts/update_googleapis_commit.sh
@@ -67,7 +67,8 @@ fi
67
68
# only allow fast-forward merging; exit with non-zero result if there's merging
69
# conflict.
70
-if git merge -m "chore: merge ${base_branch} into ${current_branch}" "${base_branch}" -ne 0; then
+git merge -m "chore: merge ${base_branch} into ${current_branch}" "${base_branch}"
71
+if [[ $? -ne 0 ]]; then
72
echo "Merge ${base_branch} into ${current_branch} has conflict, exit."
73
exit 1
74
fi
0 commit comments