Skip to content

Commit

Permalink
Adapt to new version format in stableVersion, fixes #360
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Sep 19, 2017
1 parent afe851e commit d41ff09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ lazy val buildInfoSettings: Seq[Def.Setting[_]] = Seq(

lazy val allSettings = List(
version := sys.props.getOrElse("scalafix.version", version.value),
stableVersion := version.value.replaceAll("\\+.*", ""),
stableVersion := version.value.replaceAll("\\-.*", ""),
resolvers += Resolver.sonatypeRepo("releases"),
triggeredMessage in ThisBuild := Watched.clearWhenTriggered,
scalacOptions ++= compilerOptions.value,
Expand Down

0 comments on commit d41ff09

Please sign in to comment.