Skip to content

Commit

Permalink
Change Travis pre-release configuration
Browse files Browse the repository at this point in the history
This will match any tag that has the version numbers followed by "-"
and then anything else.
  • Loading branch information
Dan Midwood committed Jun 11, 2018
1 parent 14a5271 commit be13882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ deploy:
condition: $TRAVIS_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+$
- provider: releases
api_key: "$RELEASE_OAUTH_TOKEN"
file: "releases/drafter-$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER.jar"
file: "releases/drafter-$TRAVIS_TAG-$TRAVIS_BUILD_NUMBER.jar"
prerelease: true
skip_cleanup: true
on:
tags: true
condition: $TRAVIS_TAG =~ ^[a-z,A-Z]+.*
condition: $TRAVIS_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+-.+$

0 comments on commit be13882

Please sign in to comment.