Skip to content

Commit da8d43e

Browse files
author
Vladimir Kotal
committed
try to use the deploy condition again
1 parent 5ab556b commit da8d43e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.travis.yml

Lines changed: 1 addition & 7 deletions
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: tag IS present
42+
if: branch = "master" AND 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:
@@ -51,18 +51,12 @@ jobs:
5151
file: distribution/target/opengrok-$TRAVIS_TAG.tar.gz
5252
skip_cleanup: true
5353
on:
54-
repo: oracle/opengrok
55-
tags: true
5654
condition: $TRAVIS_TAG =~ rc[0-9]+$
57-
branch: master
5855
# Full release
5956
- provider: releases
6057
api_key:
6158
secure: bCywC9GdBIzLvLG3cgM9SgOAdMRQchmqEyKQZtIfK4iNzH3GjZwLMH91Oha0X3XU/n+nxGKw2E9qpYRzWlcbxHXqIgjFTt+hkt7zAldjjyWJnOcAYqdUDfsH3NqNQBqMBg8q7Bjc0LVS6PfpTpZliZISrL6KSyDprRg7C0S+HAk=
6259
file: distribution/target/opengrok-$TRAVIS_TAG.tar.gz
6360
skip_cleanup: true
6461
on:
65-
repo: oracle/opengrok
66-
tags: true
6762
condition: ! $TRAVIS_TAG =~ rc[0-9]+$
68-
branch: master

0 commit comments

Comments
 (0)