Skip to content

Commit

Permalink
Publish dist pom (apache#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Mar 3, 2017
1 parent a22ccff commit 2b286fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ test:
dist_version="${version}-${dist_name}"
file_name="spark-dist-${dist_version}.tgz"
./dev/make-distribution.sh --name $dist_name --tgz $build_flags
md5sum assembly/pom.xml | cut -d' ' -f 1 > assembly/pom.xml.md5
curl -u $BINTRAY_USERNAME:$BINTRAY_PASSWORD -T $file_name "https://api.bintray.com/content/palantir/releases/spark/${version}/org/apache/spark/spark-dist/${dist_version}/${file_name}"
curl -u $BINTRAY_USERNAME:$BINTRAY_PASSWORD -T assembly/pom.xml "https://api.bintray.com/content/palantir/releases/spark/${version}/org/apache/spark/spark-dist/${dist_version}/spark-dist-${dist_version}.pom"
curl -u $BINTRAY_USERNAME:$BINTRAY_PASSWORD -T assembly/pom.xml.md5 "https://api.bintray.com/content/palantir/releases/spark/${version}/org/apache/spark/spark-dist/${dist_version}/spark-dist-${dist_version}.pom.md5"
}

case $CIRCLE_NODE_INDEX in
Expand Down

0 comments on commit 2b286fc

Please sign in to comment.