Skip to content

Commit

Permalink
Update travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mnmkng committed Jul 11, 2019
1 parent 860771a commit 060265d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
tag: latest
skip_cleanup: true
- stage: images
if: branch = master AND type != pull_request
if: (branch = master AND type != pull_request) OR tag =~ /^v\d+\.\d+\.\d+$/
node_js: '10'
services:
- docker
Expand Down
2 changes: 1 addition & 1 deletion .travis/release-images.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const BRANCH = process.env.TRAVIS_BRANCH;
if (TAG && /^v\d+\.\d+\.\d+$/.test(TAG)) {
// Latest release
console.log('release-images: Triggering release of latest images.');
execSync(`node ${path.join(__dirname, 'release-images-latest.js')} --dry-run'`, { stdio: 'inherit'});
execSync(`node ${path.join(__dirname, 'release-images-latest.js')}`, { stdio: 'inherit'});
} else if (BRANCH && /^master$/.test(BRANCH)) {
// Beta release
console.log('release-images: Triggering release of beta images.');
Expand Down

0 comments on commit 060265d

Please sign in to comment.