Skip to content

Commit

Permalink
Fix CI to only release docker tags on master branch
Browse files Browse the repository at this point in the history
Fixes the build error in pull request plantuml#119 and also prevent release tags that are not also commited on the master branch.
  • Loading branch information
fabianhauser authored Sep 25, 2019
1 parent 513453e commit b98e227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
stages:
- build
- name: docker-tag
if: tag IS present
if: (tag IS present) AND (branch = master)
- name: docker-push
if: branch = master

Expand Down

0 comments on commit b98e227

Please sign in to comment.