Skip to content

Commit

Permalink
delta build update
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Jun 28, 2023
1 parent acca47c commit c0e7d05
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -1025,9 +1025,10 @@ def getPrevVersion(currentVersion: String): String = {

val lastVersionInMajorVersion = Map(
0 -> "0.8.0",
1 -> "1.2.1"
)
if (minor == 0) { // 1.0.0 or 2.0.0
1 -> "1.2.1",
2 -> "2.4.0"
)
if (minor == 0) { // 1.0.0 or 2.0.0 or 3.0.0
lastVersionInMajorVersion.getOrElse(major - 1, {
throw new Exception(s"Last version of ${major - 1}.x.x not configured.")
})
Expand Down

0 comments on commit c0e7d05

Please sign in to comment.