Skip to content

Commit

Permalink
Fix doc compile, bundled release
Browse files Browse the repository at this point in the history
  • Loading branch information
romainreuillon committed Jan 16, 2020
1 parent 165d929 commit cc0b416
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ releaseTagComment := s"Releasing ${(version in ThisBuild).value}"
releaseCommitMessage := s"Bump version to ${(version in ThisBuild).value}"
sonatypeProfileName := "lihaoyi"
releaseCrossBuild := true
publishTo in ThisBuild := sonatypePublishToBundle.value

import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._

Expand All @@ -23,7 +24,8 @@ releaseProcess := Seq[ReleaseStep](
publishArtifacts,
//setNextVersion,
//commitNextVersion,
releaseStepCommand("sonatypeReleaseAll"),
releaseStepCommand("sonatypeBundleRelease"),
//releaseStepCommand("sonatypeReleaseAll"),
pushChanges
)

Expand All @@ -37,7 +39,7 @@ lazy val sharedSettings = Seq(
libraryDependencies += "com.lihaoyi" %% "acyclic" % "0.2.0" % "provided",
addCompilerPlugin("com.lihaoyi" %% "acyclic" % "0.2.0"),
autoCompilerPlugins := true,
publishTo := Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2"),
//publishTo := Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2"),
pomExtra :=
<url>https://github.com/lihaoyi/Scalatex</url>
<licenses>
Expand Down Expand Up @@ -91,6 +93,7 @@ lazy val scalatexSbtPlugin = project.settings(sharedSettings:_*)
name := "scalatex-sbt-plugin",
scalaVersion := Constants.scala212,
skip in Compile := isScala12(scalaBinaryVersion.value),
sources in (Compile, doc) := Nil,
publishArtifact := isScala12(scalaBinaryVersion.value),
publishArtifact in (Compile, packageDoc) := isScala12(scalaBinaryVersion.value),
crossSbtVersions := List("1.3.7"),
Expand Down

0 comments on commit cc0b416

Please sign in to comment.