Skip to content

Commit a46a5be

Browse files
committedNov 2, 2019
Use presence on tags in travis
1 parent ccce4d6 commit a46a5be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎.travis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
include:
3030
- stage: publish components
3131
script: 'cd rswag-api'
32-
if: tag = true
32+
if: tag IS present
3333
deploy:
3434
gemspec: rswag-api.gemspec
3535
provider: rubygems
@@ -40,7 +40,7 @@ jobs:
4040

4141
- stage: publish components
4242
script: 'cd rswag-specs'
43-
if: tag = true
43+
if: tag IS present
4444
deploy:
4545
gemspec: rswag-specs.gemspec
4646
provider: rubygems
@@ -51,7 +51,7 @@ jobs:
5151

5252
- stage: publish components
5353
script: 'cd rswag-ui'
54-
if: tag = true
54+
if: tag IS present
5555
deploy:
5656
gemspec: rswag-ui.gemspec
5757
provider: rubygems
@@ -63,7 +63,7 @@ jobs:
6363

6464
- stage: publish rswag
6565
script: 'cd rswag'
66-
if: tag = true
66+
if: tag IS present
6767
deploy:
6868
gemspec: rswag.gemspec
6969
provider: rubygems

0 commit comments

Comments
 (0)
Please sign in to comment.