Skip to content

Commit

Permalink
travis: only build on tags
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Romani <fromani@redhat.com>
  • Loading branch information
ffromani committed May 7, 2019
1 parent b14c924 commit 289518a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
include:
- stage: Build and Deploy
name: Build and Deploy to GitHub
if: tag IS present
before_script: skip
script: make release "VERSION=$TRAVIS_TAG"
deploy:
Expand All @@ -21,8 +22,6 @@ jobs:
file:
- _out/*
name: $TRAVIS_TAG
branches:
only: /v[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+){0,1}/
on:
tags: true
branch: master
Expand Down

0 comments on commit 289518a

Please sign in to comment.