Skip to content

Commit

Permalink
feat: add latest platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott committed Feb 8, 2024
1 parent 735f55d commit 1c4b77b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ var (

Platforms_1_20 = Platforms_1_19

PlatformsLatest = Platforms_1_20
Platforms_1_21 = Platforms_1_20

Platforms_1_22 = Platforms_1_21

PlatformsLatest = Platforms_1_22
)

// SupportedPlatforms returns the full list of supported platforms for
Expand Down Expand Up @@ -229,6 +233,8 @@ func SupportedPlatforms(v string) []Platform {
{">= 1.18, < 1.19", Platforms_1_18},
{">= 1.19, < 1.20", Platforms_1_19},
{">= 1.20, < 1.21", Platforms_1_20},
{">= 1.21, < 1.22", Platforms_1_21},
{">= 1.22, < 1.23", Platforms_1_22},
}

for _, p := range platforms {
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

const metaVersion = "1.1.1"
const metaVersion = "1.1.2"

0 comments on commit 1c4b77b

Please sign in to comment.