Skip to content

Commit

Permalink
remove github release
Browse files Browse the repository at this point in the history
  • Loading branch information
tashima42 committed Oct 17, 2023
1 parent 3c5ce7f commit 16a412c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions release/rke2/rke2.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import (
)

const (
goDevURL = "https://go.dev/"
goDevJSONPath = "dl/?mode=json"
goDevURL = "https://go.dev/dl/?mode=json"
imageBuildBaseRepo = "image-build-base"
)

Expand All @@ -25,12 +24,8 @@ type goVersionRecord struct {
Stable bool `json:"stable"`
}

type githubRelease struct {
Name string `json:"name"`
}

func ImageBuildBaseRelease(ctx context.Context, ghClient *github.Client) error {
versions, err := goVersions(goDevURL + goDevJSONPath)
versions, err := goVersions(goDevURL)
if err != nil {
return err
}
Expand Down

0 comments on commit 16a412c

Please sign in to comment.