Skip to content

Commit

Permalink
Updating the CircleCI configuration to check for a master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgriffiniii committed May 25, 2022
1 parent 3d8d335 commit 93c53d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 93c53d4

Please sign in to comment.