Skip to content

Commit 84dbc06

Browse files
author
Vladimir Kotal
committed
can't match on branch = master for tagged pushes
1 parent 8a1bcdc commit 84dbc06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
install: true
4040
- stage: deploy
4141
name: Github Release
42-
if: branch = "master" AND repo = "oracle/opengrok" AND tag IS present
42+
if: repo = "oracle/opengrok" AND tag IS present
4343
before_install: dev/before_install
4444
script: mvn -DskipTests=true -Dmaven.javadoc.skip=false -B -V package
4545
deploy:
@@ -52,6 +52,7 @@ jobs:
5252
skip_cleanup: true
5353
on:
5454
condition: $TRAVIS_TAG =~ rc[0-9]+$
55+
branch: master
5556
# Full release
5657
- provider: releases
5758
api_key:
@@ -60,3 +61,4 @@ jobs:
6061
skip_cleanup: true
6162
on:
6263
condition: ! $TRAVIS_TAG =~ rc[0-9]+$
64+
branch: master

0 commit comments

Comments
 (0)