diff --git a/.circleci/config.yml b/.circleci/config.yml index 3ec2775..e009bf0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,6 +25,16 @@ jobs: - 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 >>