mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
7 lines
239 B
Bash
7 lines
239 B
Bash
function exit_unless_master_merged {
|
|
if [[ `git branch -a --merged origin/$BUILDKITE_BRANCH` != *origin/master* ]]; then
|
|
echo "This branch does not have the current master merged. Please merge master and push again."
|
|
exit 1
|
|
fi
|
|
}
|