Skip to content

Commit

Permalink
ci: remove unnecesary struct
Browse files Browse the repository at this point in the history
Signed-off-by: jerensl <[email protected]>
  • Loading branch information
jerensl committed Oct 30, 2024
1 parent a8d7569 commit 75921f2
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,19 +240,6 @@ func GetLatestReleaseTagsSorted(org string, repo string) ([]string, error) {
return versions, nil
}

type Commit struct {
SHA string `json:"sha"`
URL string `json:"url"`
}

type ReleaseTags struct {
Name string `json:"name"`
Commit Commit `json:"commit"`
TarballURL string `json:"tarball_url"`
ZipballURL string `json:"zipball_url"`
NodeID string `json:"node_id"`
}

// Gets release tag from github for a given org name, repo name(in that org) and tag
func GetLatestReleaseTagCommitSHA(org string, repo string) (string, error) {
url := fmt.Sprintf("https://github.com/%s/%s/tags", org, repo)
Expand Down

0 comments on commit 75921f2

Please sign in to comment.