diff options
author | adamw <adam@warski.org> | 2017-07-25 12:41:18 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-25 12:41:18 +0200 |
commit | 249193e8a8fd649bcb495384bc5237774bc75bc4 (patch) | |
tree | 77563bb48fde05bcf15b97b773cd5ee6cc422b22 /build.sbt | |
parent | be2f4a50a4efad3ed1a20fa0f5eb23e8b73881bf (diff) | |
download | sttp-249193e8a8fd649bcb495384bc5237774bc75bc4.tar.gz sttp-249193e8a8fd649bcb495384bc5237774bc75bc4.tar.bz2 sttp-249193e8a8fd649bcb495384bc5237774bc75bc4.zip |
Release process
Diffstat (limited to 'build.sbt')
-rw-r--r-- | build.sbt | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -6,14 +6,12 @@ val commonSettings = Seq( scalafmtOnCompile := true, scalafmtVersion := "1.0.0", // publishing - publishTo := { - val nexus = "https://oss.sonatype.org/" - val (name, url) = - if (isSnapshot.value) - ("snapshots", nexus + "content/repositories/snapshots") - else ("releases", nexus + "service/local/staging/deploy/maven2") - Some(name at url) - }, + publishTo := Some( + if (isSnapshot.value) + Opts.resolver.sonatypeSnapshots + else + Opts.resolver.sonatypeStaging + ), publishArtifact in Test := false, publishMavenStyle := true, scmInfo := Some( @@ -24,10 +22,12 @@ val commonSettings = Seq( licenses := ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0.txt")) :: Nil, homepage := Some(url("http://softwaremill.com/open-source")), + sonatypeProfileName := "com.softwaremill", // sbt-release releaseCrossBuild := true, releasePublishArtifactsAction := PgpKeys.publishSigned.value, - releaseIgnoreUntrackedFiles := true + releaseIgnoreUntrackedFiles := true, + releaseProcess := SttpRelease.steps ) val akkaHttpVersion = "10.0.9" |