Skip to content

Commit a873bc7

Browse files
authored
build: refine criteria for semrel build stage (#164)
1 parent 247dc40 commit a873bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ env:
2323
stages:
2424
- name: Build-Test
2525
- name: Semantic-Release
26-
if: branch = main AND type = push AND fork = false
26+
if: (branch = main) AND (type IN (push, api)) AND (fork = false)
2727
- name: Publish-Release
28-
if: tag IS present
28+
if: (tag IS present) AND (fork = false)
2929

3030
before_install:
3131
- sudo apt-get update

0 commit comments

Comments
 (0)