diff --git a/.travis.yml b/.travis.yml index 3ac61bb..94924ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,4 +48,4 @@ stages: - name: style if: NOT (type = api) - name: deploy - if: (branch = master) AND (NOT (type IN (push, pull_request))) + if: (tag IS present) AND (tag =~ /^(\d+)\.(\d+)\.(\d+)(\.\d+)?$/)