Skip to content

Commit

Permalink
Fix build for 0.3.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
non committed Sep 23, 2019
1 parent efd66f0 commit 15ccdc7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sbt
Expand Up @@ -205,8 +205,9 @@ def previousArtifact(version: String, proj: String) = {
val regex = "0\\.([0-9]+)\\.[0-9]+(-SNAPSHOT|-dbuild[a-z0-9]*|\\+.*)?".r
version match {
case regex("1", _) => Set("org.typelevel" %% s"paiges-$proj" % "0.1.0")
case regex("2", _) => Set.empty[ModuleID]
case _ => throw new RuntimeException(s"Unexpected version: ${version}")
case regex("2", _) => Set("org.typelevel" %% s"paiges-$proj" % "0.2.0")
case regex("3", _) => Set.empty[ModuleID]
case _ => throw new RuntimeException(s"Unexpected paiges version: ${version}")
}
}

Expand Down

0 comments on commit 15ccdc7

Please sign in to comment.