From db06a1db1fa82811df03158510bc0fe026a805e9 Mon Sep 17 00:00:00 2001 From: Priyanshi Gupta Date: Mon, 20 Jan 2025 12:39:39 +0530 Subject: [PATCH] Add 2.25 YB version to supported preview versions list (#2207) --- yb-voyager/src/ybversion/constants.go | 1 + yb-voyager/src/ybversion/yb_version.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/yb-voyager/src/ybversion/constants.go b/yb-voyager/src/ybversion/constants.go index 94bbfffa9..afa2c125f 100644 --- a/yb-voyager/src/ybversion/constants.go +++ b/yb-voyager/src/ybversion/constants.go @@ -23,6 +23,7 @@ const ( SERIES_2024_2 = "2024.2" SERIES_2_21 = "2.21" SERIES_2_23 = "2.23" + SERIES_2_25 = "2.25" ) var LatestStable *YBVersion diff --git a/yb-voyager/src/ybversion/yb_version.go b/yb-voyager/src/ybversion/yb_version.go index fad15e086..087de2d73 100644 --- a/yb-voyager/src/ybversion/yb_version.go +++ b/yb-voyager/src/ybversion/yb_version.go @@ -29,7 +29,7 @@ import ( // Reference - https://docs.yugabyte.com/preview/releases/ybdb-releases/ var supportedYBVersionStableSeriesOld = []string{SERIES_2_14, SERIES_2_18, SERIES_2_20} var supportedYBVersionStableSeries = []string{SERIES_2024_1, SERIES_2024_2} -var supportedYBVersionPreviewSeries = []string{SERIES_2_21, SERIES_2_23} +var supportedYBVersionPreviewSeries = []string{SERIES_2_21, SERIES_2_23, SERIES_2_25} var allSupportedYBVersionSeries = lo.Flatten([][]string{supportedYBVersionStableSeries, supportedYBVersionPreviewSeries, supportedYBVersionStableSeriesOld}) var ErrUnsupportedSeries = fmt.Errorf("unsupported YB version series. Supported YB version series = %v", allSupportedYBVersionSeries)