From 6bd25b1990b73994d801d5c7dd8784206141424e Mon Sep 17 00:00:00 2001 From: Rob Spieldenner Date: Fri, 13 Mar 2015 13:49:45 -0700 Subject: [PATCH] Enable Maven Central sync --- .travis.yml | 2 ++ buildViaTravis.sh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a6a410d4..11492d91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,5 @@ env: global: - secure: Ps7+oTi5FfjwJ7tQ8G51wk30ZHqB1P4ZNXsGisn+r/8IJRxPs6VNIF/dPSkWLERs1tBvMG2sRz9nxaIwxXJwHXOkoBL/SXZHzOYwKTlsNcu72B6czxepIb0OAGWKAv6aCk9vAJkRzGX2Ogy+Hnn8AuQlPAPOplRjZm1AXj6smGM= - secure: C/RoUcQGZ6wB1nHnLN7dGMCbpjOObaviuXFxv5ZtocKfALmOZg6gOye5/LyJwvLwMaKtI434dHFvY29FIO0ntclx48xPYCjg6GsmzJOwQcwlLqIV1HQMczFDiYlMFSUbHn9d+JbwXxdd13g98aHtEif73bI0SXevyiqv4n/XsVo= + - secure: LfLmAImQdX2LksJNJvo5R2tX/VEmBSudVgkZBIUhcTObmxcNvBzue0QyLa6w107s9U5G6PxfPOv4BB3qZogC3FmsY/qQus2JV9/0eP/hGVNZER1FlAe5mgHgzaoa39qNLQYdyb0jAmIR0r0X0DcF6yR+IAgj4rbN/wzXLc1Cw+s= + - secure: XYdDt7fPTpIX2qvBbin4VR3ndfQ00xyebokpw0eXYQ6yvbS2H3lhFqBKuVnN40MTJXNL8ZBIm/wVe67QdAP0uJNlq6YhOf35XY45TfLTSZ0zJd+nJZMDIi8P0zrKDxv6vxnceaZwTrJy8Q1JiUrG4VA4Hb/T4zqftzvad9RT7lc= diff --git a/buildViaTravis.sh b/buildViaTravis.sh index 139be5ea..17a33a5f 100755 --- a/buildViaTravis.sh +++ b/buildViaTravis.sh @@ -6,15 +6,15 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./gradlew build elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']' - ./gradlew -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" build snapshot + ./gradlew -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build snapshot elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']' case "$TRAVIS_TAG" in *-rc\.*) - ./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" candidate + ./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" candidate ;; *) - ./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" final + ./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" final ;; esac else