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

Commit

Permalink
tweaked regex for travis to only match release and milestone versions
Browse files Browse the repository at this point in the history
  • Loading branch information
markglh committed May 1, 2017
1 parent adfb3c6 commit c43ea1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cache:
- "$HOME/.ivy2"
script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage scalafmtTest test
- if [ $TRAVIS_TEST_RESULT -eq 0 -a "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_TAG" =~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?(-[A-Za-z0-9-]+)? ]]; then
- if [ $TRAVIS_TEST_RESULT -eq 0 -a "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_TAG" =~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?(-M[A-Za-z0-9]+)?$ ]]; then
echo "** Publishing Release $TRAVIS_TAG **"
&& tar xf secrets.tar && mkdir ~/.bintray
&& cp publishing/.credentials ~/.bintray/
Expand Down

0 comments on commit c43ea1b

Please sign in to comment.