From c0e7d0589593474b4013a343c7bd158fab2fb666 Mon Sep 17 00:00:00 2001 From: Tathagata Das Date: Wed, 28 Jun 2023 12:37:38 -0700 Subject: [PATCH] delta build update --- build.sbt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index c96dbc741e5..406f7c0252d 100644 --- a/build.sbt +++ b/build.sbt @@ -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.") })