Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Kruszewski committed Sep 23, 2016
1 parent 3a2e7e9 commit 3b2dbcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ deployment:
- ./build/sbt -Phadoop-2.7 -Pmesos -Pkinesis-asl -Pyarn -Phive-thriftserver -Phive publish
- ./dev/make-distribution.sh --name hadoop2.7 --tgz "-Phadoop2.7 -Psparkr -Phive -Phive-thriftserver -Pyarn -Pmesos" \
2>&1 > binary-release-hadoop2.7.log
- curl -u $BINTRAY_USER:$BINTRAY_PASSWORD -T "spark-$(git describe --tags)-bin-hadoop2.7.tgz" "https://api.bintray.com/content/palantir/releases/org/apache/spark/dist/$(git describe --tags)/spark-$(git describe --tags)-bin-hadoop2.7.tgz"
- curl -u $BINTRAY_USER:$BINTRAY_PASSWORD -T "spark-$(git describe --tags)-bin-hadoop2.7.tgz" "https://api.bintray.com/content/palantir/releases/spark/$(git describe --tags)/org/apache/spark/dist/spark-$(git describe --tags)-bin-hadoop2.7.tgz"
- ./build/sbt -Phadoop-2.7 -Pmesos -Pkinesis-asl -Pyarn -Phive-thriftserver -Phive clean
- ./dev/make-distribution.sh --name without-hadoop --tgz "-Psparkr -Phadoop-provided -Pyarn -Pmesos" \
2>&1 > binary-release-without-hadoop.log
- curl -u $BINTRAY_USER:$BINTRAY_PASSWORD -T "spark-$(git describe --tags)-bin-without-hadoop.tgz" "https://api.bintray.com/content/palantir/releases/org/apache/spark/dist/$(git describe --tags)/spark-$(git describe --tags)-bin-without-hadoop.tgz"
- curl -u $BINTRAY_USER:$BINTRAY_PASSWORD -T "spark-$(git describe --tags)-bin-without-hadoop.tgz" "https://api.bintray.com/content/palantir/releases/spark/$(git describe --tags)/org/apache/spark/dist/spark-$(git describe --tags)-bin-without-hadoop.tgz"
4 changes: 2 additions & 2 deletions project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ object SparkBuild extends PomBuild {
DefaultMavenRepository,
Resolver.mavenLocal,
Resolver.bintrayRepo("palantir", "releases"),
Resolver.url("Bintray API Realm", url("https://api.bintray.com/content/palantir/releases"))(Patterns("[organisation]/[module]/[revision]/[artifact].[ext]")),
Resolver.url("Bintray API Realm", url("https://api.bintray.com/maven/palantir/releases/spark"))(Patterns("[organisation]/[module]/[revision]/[artifact].[ext]?publish=1")),
Resolver.file("local", file(Path.userHome.absolutePath + "/.ivy2/local"))(Resolver.ivyStylePatterns)
),
externalResolvers := resolvers.value,
Expand All @@ -285,7 +285,7 @@ object SparkBuild extends PomBuild {
},
credentials += Credentials(new File(".credentials")),
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0")),
publishTo := Some("Bintray API Realm" at s"https://api.bintray.com/content/palantir/releases/"),
publishTo := Some("Bintray API Realm" at s"https://api.bintray.com/maven/palantir/releases/spark"),

javacJVMVersion := "1.7",
scalacJVMVersion := "1.7",
Expand Down

0 comments on commit 3b2dbcb

Please sign in to comment.