diff --git a/build.sbt b/build.sbt index da77369..c72c2dc 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,5 @@ name := "sangria-streaming-api" organization := "org.sangria-graphql" -version := "1.0.1-SNAPSHOT" mimaPreviousArtifacts := Set("org.sangria-graphql" %% "sangria-streaming-api" % "1.0.0") description := "Sangria Streaming API" @@ -22,7 +21,8 @@ scalacOptions ++= { git.remoteRepo := "git@github.com:sangria-graphql/sangria-streaming-api.git" // Publishing - +releaseCrossBuild := true +releasePublishArtifactsAction := PgpKeys.publishSigned.value publishMavenStyle := true publishArtifact in Test := false pomIncludeRepository := (_ ⇒ false) diff --git a/project/plugins.sbt b/project/plugins.sbt index d517e7e..d9e31f3 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,6 +4,8 @@ resolvers += Resolver.url( )(Resolver.ivyStylePatterns) resolvers += "jgit-repo" at "https://download.eclipse.org/jgit/maven" -addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0") +addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.12") +addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.0") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.6.1") +addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0") diff --git a/version.sbt b/version.sbt new file mode 100644 index 0000000..dc11afe --- /dev/null +++ b/version.sbt @@ -0,0 +1 @@ +version in ThisBuild := "1.0.1-SNAPSHOT"