Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Commit

Permalink
Fix branch matching in circle ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
cleishm committed Jan 19, 2019
1 parent 849ab01 commit d691415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- deploy:
name: Deploying snapshot to Bintray (release branches only)
command: |
if [ -z "${CIRCLE_PULL_REQUEST}" ] && echo "${CIRCLE_BRANCH}" | grep -q -E '^master$|^\d+\.\d+$'; then
if [ -z "${CIRCLE_PULL_REQUEST}" ] && echo "${CIRCLE_BRANCH}" | grep -q -E '^master$|^[0-9]+\.[0-9]+$'; then
echo "Start deployment"
BINTRAY_DEPLOY=true ./gradlew deploy
else
Expand Down

0 comments on commit d691415

Please sign in to comment.