Skip to content

Commit

Permalink
Merge pull request #27 from Phillezi/fix-update-url
Browse files Browse the repository at this point in the history
Fix url for update, sed command had changed it
  • Loading branch information
Phillezi authored Sep 14, 2024
2 parents e11d11b + 6953907 commit 878a723
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 878a723

Please sign in to comment.