Skip to content

Commit 282a25b

Browse files
committed
move latest released version to 4.16
Signed-off-by: Adam D. Cornett <[email protected]>
1 parent b926353 commit 282a25b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

internal/bundle/bundle.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ var ocpToKubeVersion = map[string]string{
3030
"4.14": "1.27",
3131
"4.15": "1.28",
3232
"4.16": "1.29",
33+
"4.17": "1.30",
3334
}
3435

35-
const latestReleasedVersion = "4.15"
36+
const latestReleasedVersion = "4.16"
3637

3738
func Validate(ctx context.Context, imagePath string) (*Report, error) {
3839
logger := logr.FromContextOrDiscard(ctx)

internal/bundle/bundle_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ var _ = Describe("BundleValidateCheck", func() {
108108
Entry(">= 4.9", "v4.9", latestReleasedVersion, true),
109109
Entry(">= 4.11", "v4.11", latestReleasedVersion, true),
110110
Entry(">= 4.15", "v4.15", latestReleasedVersion, true),
111-
Entry(">= 4.16, which is more than released", "v4.16", "4.16", true),
111+
Entry(">= 4.16, which is more than released", "v4.16", latestReleasedVersion, true),
112+
Entry(">= 4.17, which is more than released", "v4.17", "4.17", true),
112113
Entry("begins = with error", "=foo", "", false),
113114
Entry("bare version with error", "vfoo", "", false),
114115
Entry("range with error", "v4.6-vfoo", "", false),

0 commit comments

Comments
 (0)