diff --git a/.circleci/config.yml b/.circleci/config.yml index 1ecfcf0..8cdca04 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,15 @@ jobs: solr_version: 7-slim 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)" ]] - run: name: Install dependencies command: |