Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
dist: don't check branch for travis deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ottosuess committed Nov 7, 2019
1 parent 71b5f4c commit 8320cf8
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 @@ -23,7 +23,7 @@ install:
stages:
- test
- name: deploy
if: branch = master AND tag ~= ^v.*
if: tag ~= ^v.*
jobs:
include:
- stage: test
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private_lane :pre_upload do
end

def update_version(suffix)
tag = ENV['TRAVIS_TAG']
tag = ENV['TRAVIS_TAG'].dup

if !tag.start_with?("v")
UI.user_error!("Tag does not have prefix 'v'")
Expand Down

0 comments on commit 8320cf8

Please sign in to comment.