Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Stage files for sbt release to run
Browse files Browse the repository at this point in the history
  • Loading branch information
postatum committed May 13, 2019
1 parent 2e9adaa commit cbb6cb2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.sbt
@@ -1,6 +1,8 @@
import org.scalajs.core.tools.linker.ModuleKind
import sbt.Keys.{libraryDependencies, resolvers}
import sbtcrossproject.CrossPlugin.autoImport.crossProject
import ReleaseTransformations._

val ivyLocal = Resolver.file("ivy", file(Path.userHome.absolutePath + "/.ivy2/local"))(Resolver.ivyStylePatterns)

name := "webapi-parser"
Expand All @@ -26,6 +28,13 @@ val settings = Common.settings ++ Common.publish ++ Seq(
"org.scalatest" %%% "scalatest" % "3.0.5" % "test",
"com.github.amlorg" %%% "amf-webapi" % "3.1.10",
"com.github.amlorg" %%% "amf-validation" % "3.1.10"
),
releaseCrossBuild := true,
releaseProcess := Seq[ReleaseStep](
runClean,
runTest,
releaseStepCommandAndRemaining("+publishSigned"),
releaseStepCommand("sonatypeReleaseAll")
)
)

Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Expand Up @@ -5,3 +5,4 @@ addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.7")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.0-M2")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.11")

0 comments on commit cbb6cb2

Please sign in to comment.