Skip to content

Commit

Permalink
Fixed Travis branch exclude regex - to ignore all tag builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Hady Osman committed Aug 10, 2014
1 parent 78f92a8 commit 0d882d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ python:
- '2.7'

# Exclude any tag pushes/builds from being picked up by Travis
# Exclusion format numbers & dots e.g. 1, 1.2, 1.2.3, etc
branches:
only:
- master
except:
- /^\d+(\.\d+)*$/

# Setting environment variables that can be used by Git via Travis to identify current user
env:
Expand All @@ -32,7 +33,7 @@ before_deploy:
- bash after_success.sh
- git remote set-url origin "https://github.com/ArabicXBMC/plugin.video.dailytube4u.com.git"
- git fetch --tags
- git tag 2.4.0 -m "Tagging from travis configuration"
- git tag 2.3.0 -m "Tagging from travis configuration"
- git push --tags
- echo $TRAVIS_COMMIT

Expand Down

0 comments on commit 0d882d8

Please sign in to comment.