diff --git a/build.sbt b/build.sbt index 0a04482..4cfb7c5 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,10 @@ // Your sbt build file. Guides on how to write one can be found at // http://www.scala-sbt.org/0.13/docs/index.html +name := "spark-sql-perf" + +organization := "com.databricks" + scalaVersion := "2.10.4" sparkPackageName := "databricks/spark-sql-perf" @@ -56,6 +60,28 @@ lazy val setupDbcRelease = ReleaseStep( } ) +/******************** + * Release settings * + ********************/ + +publishMavenStyle := true + +releaseCrossBuild := true + +licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0")) + +releasePublishArtifactsAction := PgpKeys.publishSigned.value + +pomExtra := ( + https://github.com/databricks/spark-sql-perf + + git@github.com:databricks/spark-sql-perf.git + scm:git:git@github.com:databricks/spark-sql-perf.git + + ) + +bintrayReleaseOnPublish in ThisBuild := false + // Add publishing to spark packages as another step. releaseProcess := Seq[ReleaseStep]( checkSnapshotDependencies, @@ -66,6 +92,7 @@ releaseProcess := Seq[ReleaseStep]( tagRelease, setupDbcRelease, releaseStepTask(dbcUpload), + publishArtifacts, setNextVersion, commitNextVersion, pushChanges diff --git a/project/plugins.sbt b/project/plugins.sbt index 173d1fc..74cfded 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -10,4 +10,8 @@ addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0") addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.0") -addSbtPlugin("com.databricks" %% "sbt-databricks" % "0.1.3") \ No newline at end of file +addSbtPlugin("com.databricks" %% "sbt-databricks" % "0.1.3") + +addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0") + +addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0") \ No newline at end of file