Skip to content

Commit 463e078

Browse files
authored
Add custom release process that uses the new commands (#412)
1 parent c5705fc commit 463e078

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

build.sbt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import scalariform.formatter.preferences._
22
import org.typelevel.scalacoptions.ScalacOptions
33
import xerial.sbt.Sonatype.sonatypeCentralHost
4+
import ReleaseTransformations._
45

56
lazy val noPublish = Seq(
67
publish := {},
@@ -44,6 +45,21 @@ lazy val recryptSettings = Seq(
4445
),
4546
//Release configuration
4647
releasePublishArtifactsAction := PgpKeys.publishSigned.value,
48+
releaseCrossBuild := true,
49+
releaseProcess := Seq[ReleaseStep](
50+
checkSnapshotDependencies,
51+
inquireVersions,
52+
runClean,
53+
runTest,
54+
setReleaseVersion,
55+
commitReleaseVersion,
56+
tagRelease,
57+
releaseStepCommandAndRemaining("+publishSigned"),
58+
releaseStepCommand("sonatypeBundleRelease"),
59+
setNextVersion,
60+
commitNextVersion,
61+
pushChanges
62+
),
4763
isSnapshot := version.value endsWith "SNAPSHOT",
4864
homepage := Some(url("http://github.com/ironcorelabs/recrypt")),
4965
sonatypeCredentialHost := sonatypeCentralHost,

0 commit comments

Comments
 (0)