This is an automated email from the ASF dual-hosted git repository.

jlli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new c42c740  Include branch name when publishing pinot release to bintray 
(#6019)
c42c740 is described below

commit c42c74056ddea201328b0efb35302f460490b3a5
Author: Jialiang Li <j...@linkedin.com>
AuthorDate: Tue Sep 15 13:16:53 2020 -0700

    Include branch name when publishing pinot release to bintray (#6019)
    
    Co-authored-by: Jack Li(Analytics Engineering) <j...@jlli-mn1.linkedin.biz>
---
 .travis/.travis_nightly_build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis/.travis_nightly_build.sh b/.travis/.travis_nightly_build.sh
index 602a4bf..d33e6a2 100755
--- a/.travis/.travis_nightly_build.sh
+++ b/.travis/.travis_nightly_build.sh
@@ -20,6 +20,7 @@
 
 if [ -n "${DEPLOY_BUILD_OPTS}" ]; then
   echo "Deploying to bintray"
+  echo "Current branch name: ${TRAVIS_BRANCH}"
 
   BUILD_VERSION=$(grep -E "<version>(.*)-SNAPSHOT</version>" pom.xml | cut 
-d'>' -f2 | cut -d'<' -f1 | cut -d'-' -f1)
   echo "Current build version: $BUILD_VERSION${DEV_VERSION}"
@@ -27,5 +28,5 @@ if [ -n "${DEPLOY_BUILD_OPTS}" ]; then
   mvn versions:commit -q -B
 
   # Deploy to bintray
-  mvn deploy -s .travis/.ci.settings.xml -DskipTests -q 
-DretryFailedDeploymentCount=5 
-DaltDeploymentRepository=bintray-linkedin-maven::default::'https://api.bintray.com/maven/linkedin/maven/pinot/;publish=1;override=1'
+  mvn deploy -s .travis/.ci.settings.xml -DscmBranch="${TRAVIS_BRANCH}" 
-DskipTests -q -DretryFailedDeploymentCount=5 
-DaltDeploymentRepository=bintray-linkedin-maven::default::'https://api.bintray.com/maven/linkedin/maven/pinot/;publish=1;override=1'
 fi


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to