Skip to content

Commit

Permalink
Add 2.25 YB version to supported preview versions list (#2207)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshi-yb authored Jan 20, 2025
1 parent e44dc10 commit db06a1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions yb-voyager/src/ybversion/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion yb-voyager/src/ybversion/yb_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit db06a1d

Please sign in to comment.