mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-09 07:56:58 +00:00
Tests fail unless master has been merged into current branch
This commit is contained in:
6
script/includes.sh
Normal file
6
script/includes.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
function exit_unless_master_merged {
|
||||
if [[ `git branch -a --merged $BUILDKITE_BRANCH` != *origin/master* ]]; then
|
||||
echo "This branch does not have the current master merged. Please merge master and push again."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user