Skip to content

Commit

Permalink
Enables maven sync following a successful version tag deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Cole committed May 12, 2016
1 parent 573f116 commit be810e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions travis/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ if is_pull_request; then
# - If a version tag fails to deploy for a transient reason, delete the broken version from bintray and click rebuild
elif is_travis_branch_master || is_version_tag; then
./mvnw --batch-mode -s ./.settings.xml -Prelease -nsu -pl -:benchmarks,-:interop,-:centralsync-maven-plugin -DskipTests deploy

# If the deployment succeeded, sync it to Maven Central
is_version_tag && ./mvnw --batch-mode -s ./.settings.xml -Prelease -nsu -pl -:benchmarks,-:interop,-:centralsync-maven-plugin io.zipkin.java:centralsync-maven-plugin:sync

# If we are on a release tag, the following will update any version references and push a version tag for deployment.
elif build_started_by_tag; then
safe_checkout_master
Expand Down

0 comments on commit be810e6

Please sign in to comment.