Skip to content

Commit

Permalink
Only trigger a release when master is tagged
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff-Glatz committed Jan 12, 2020
1 parent 428ac47 commit b7abd57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ install: mvn -e -B -ntp -s deploy/settings.xml -P ossrh dependency:go-offline
# returns a success exit code to ensure build proceeds to deploy stage
script: deploy/deploy-branch.sh

# Perform a release when the repository has been tagged
# Perform a release when the master branch has been tagged
deploy:
- provider: script
script: deploy/release-tag.sh
cleanup: false
on:
tags: true
branch: master

0 comments on commit b7abd57

Please sign in to comment.