Skip to content

Commit

Permalink
Capture publish logs (apache#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Feb 7, 2018
1 parent 60c250f commit 863f78f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ make_dist() {
hadoop_name="hadoop-palantir"
artifact_name="spark-dist_2.11-${hadoop_name}"
file_name="spark-dist-${version}-${hadoop_name}.tgz"
./dev/make-distribution.sh --name "hadoop-palantir" --tgz "$@" $build_flags
./dev/make-distribution.sh --name "hadoop-palantir" --tgz "$@" $build_flags | tee -a "$CIRCLE_ARTIFACTS/publish.log"
curl -u $BINTRAY_USERNAME:$BINTRAY_PASSWORD -T $file_name "https://api.bintray.com/content/palantir/releases/spark/${version}/org/apache/spark/${artifact_name}/${version}/${artifact_name}-${version}.tgz"
}

publish_artifacts | tee -a "$CIRCLE_ARTIFACTS/publish.log"
make_dist "${PALANTIR_FLAGS[*]}" --clean | tee -a "$CIRCLE_ARTIFACTS/publish.log"
make_dist "${PALANTIR_FLAGS[*]}" --clean

0 comments on commit 863f78f

Please sign in to comment.