Skip to content

Commit

Permalink
#33 - Fixing failed build on master
Browse files Browse the repository at this point in the history
  • Loading branch information
iakunin committed Apr 15, 2020
1 parent 88af917 commit 95ad97f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ jobs:
# For more info see:
# https://community.sonarsource.com/t/code-is-empty-on-pull-request-reviews/822/14
# https://discuss.circleci.com/t/git-checkout-of-a-branch-destroys-local-reference-to-master/23781/7
command: git branch -f master origin/master
command: |
currentGitBranch=$(git rev-parse --abbrev-ref HEAD)
if [ $currentGitBranch != "master" ]; then
git branch -f master origin/master;
fi;
- run:
name: Setup PR_NUMBER environment variable
command: |
Expand Down

0 comments on commit 95ad97f

Please sign in to comment.