Skip to content

Commit

Permalink
sbt-release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Karasiq committed Jun 14, 2018
1 parent ee8ffac commit 02f44b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ lazy val publishSettings = Seq(
</developers>
)

lazy val noPublishSettings = Seq(
publishArtifact := false,
publishArtifact in makePom := false,
publishTo := Some(Resolver.file("Repo", file("target/repo")))
)

lazy val librarySettings = Seq(
name := "bittorrent",
crossScalaVersions := Seq(scalaVersion.value, "2.12.3"),
Expand Down Expand Up @@ -64,11 +70,12 @@ lazy val releaseSettings = Seq(
runClean,
runTest,
setReleaseVersion,
publishArtifacts,
// publishArtifacts,
releaseStepCommand("bittorrent/publishSigned"),
releaseStepCommand("sonatypeRelease"),
releaseStepCommand("server/universal:packageBin"),
// releaseStepCommand("server/windows:packageBin"),
releaseStepCommand("server/githubRelease"),
releaseStepCommand("torrentstream-server/universal:packageBin"),
// releaseStepCommand("torrentstream-server/windows:packageBin"),
releaseStepCommand("torrentstream-server/githubRelease"),
commitReleaseVersion,
tagRelease,
setNextVersion,
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version := "1.0.7"
version in ThisBuild := "1.0.7"

0 comments on commit 02f44b7

Please sign in to comment.