Skip to content

Commit 08c5e0f

Browse files
committed
Move other curl inside publish.sh
1 parent 2d2799c commit 08c5e0f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,6 @@ jobs:
316316
- store_artifacts:
317317
path: /tmp/publish_artifacts.log
318318
destination: publish_artifacts.log
319-
- deploy:
320-
command: |
321-
curl -u $BINTRAY_USERNAME:$BINTRAY_PASSWORD -X POST https://api.bintray.com/content/palantir/releases/spark/$(git describe --tags)/publish
322319

323320
workflows:
324321
version: 2

dev/publish.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ make_dist() {
2424
file_name="spark-dist-${version}-${hadoop_name}.tgz"
2525
./dev/make-distribution.sh --name "hadoop-palantir" --tgz "$@" $build_flags | tee -a "/tmp/make-distribution.log"
2626
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"
27+
curl -u $BINTRAY_USERNAME:$BINTRAY_PASSWORD -X POST "https://api.bintray.com/content/palantir/releases/spark/${version}/publish"
2728
}
2829

2930
publish_artifacts | tee -a "/tmp/publish_artifacts.log"

0 commit comments

Comments
 (0)