diff --git a/.circleci/config.yml b/.circleci/config.yml index 46defb4..14980a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,6 +23,15 @@ jobs: steps: - samvera/cached_checkout + - run: + name: Check for a branch named 'master' + command: | + git fetch --all --quiet --prune --prune-tags + if [[ -n "$(git branch --all --list master */master)" ]]; then + echo "A branch named 'master' was found. Please remove it." + echo "$(git branch --all --list master */master)" + fi + [[ -z "$(git branch --all --list master */master)" ]] - samvera/bundle_for_gem: ruby_version: << parameters.ruby_version >> bundler_version: << parameters.bundler_version >>