Skip to content

Commit

Permalink
Fix url for update, sed command had changed it
Browse files Browse the repository at this point in the history
I changed the module name previously with sed (didnt want to replace all occurances manually) but it had changed the url.
  • Loading branch information
Phillezi authored Sep 14, 2024
1 parent e11d11b commit 6953907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/update/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (r *GitHubRelease) IsNewer() (bool, error) {
}

func GetLatestRelease() (*GitHubRelease, error) {
url := "https://api.github.com/repos/Phillezi/github.com/Phillezi/kthcloud-cli/releases/latest"
url := "https://api.github.com/repos/Phillezi/kthcloud-cli/releases/latest"
resp, err := http.Get(url)
if err != nil {
return nil, fmt.Errorf("error fetching release info: %v", err)
Expand Down

0 comments on commit 6953907

Please sign in to comment.