Skip to content

Commit 265eab5

Browse files
committed
Release branch restriction.
1 parent b4dfc82 commit 265eab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
- docker
77
after_success:
88
- bash <(curl -s https://codecov.io/bash)
9-
- mvn deploy --settings travis-settings.xml -DskipTests=true -B
9+
- "[[ $TRAVIS_BRANCH == \"feature/maven-central-deploy\" ]] && { mvn deploy --settings travis-settings.xml -DskipTests=true -B; };"
1010
before_deploy:
1111
- "mvn -DskipTests package"
1212
- export FILE_TO_UPLOAD=$(ls target/pulsar-java-spring-boot-starter-*.jar)

0 commit comments

Comments
 (0)