Skip to content

Commit

Permalink
Trying to fix version tag regexp, again
Browse files Browse the repository at this point in the history
  • Loading branch information
nicusX committed Jan 15, 2018
1 parent a93513a commit b2ef8a6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,14 @@ cache:
- "node_modules"

env:
- PROD_TAG_REGEXP="^v\d+\.\d+\.\d+.*" #Regexp for release (deploy to Prod) tags
- PROD_TAG_REGEXP="^v[0-9]+\.[0-9]+\.[0-9]+.*" #Regexp for release (deploy to Prod) tags

install:
- npm install

script:
- npm run-script styleguide

after_success:
- set | grep TRAVIS

before_deploy:
- pip install --user awscli

Expand All @@ -34,5 +31,4 @@ deploy:
skip_cleanup: true
on:
tags: true
all_branches: true
condition: $TRAVIS_TAG =~ $PROD_TAG_REGEXP

0 comments on commit b2ef8a6

Please sign in to comment.