Skip to content

Commit

Permalink
Merge pull request #232 from jrgriffiniii/issues-231-rename-branch
Browse files Browse the repository at this point in the history
Updating the CircleCI configuration to check for a master branch
  • Loading branch information
cjcolvar authored Jul 29, 2022
2 parents 7332a3e + 93c53d4 commit c8bb4ad
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 c8bb4ad

Please sign in to comment.