diff --git a/cmd/sst/ui.go b/cmd/sst/ui.go index bb2f72fb3..a9cd05c60 100644 --- a/cmd/sst/ui.go +++ b/cmd/sst/ui.go @@ -3,7 +3,6 @@ package main import ( "fmt" "log/slog" - "os" "github.com/pulumi/pulumi/sdk/v3/go/common/apitype" "github.com/sst/ion/cmd/sst/cli" diff --git a/pkg/global/upgrade.go b/pkg/global/upgrade.go index 00648a575..387008f0d 100644 --- a/pkg/global/upgrade.go +++ b/pkg/global/upgrade.go @@ -39,7 +39,7 @@ func Upgrade(existingVersion string, nextVersion string) (string, error) { return "", fmt.Errorf("unsupported architecture") } if nextVersion == "" { - resp, err := http.Get("https://api.github.com/repos/sst/ion/releases/latest") + resp, err := http.Get("https://api.github.com/repos/sst/sst/releases/latest") if err != nil { return "", err } @@ -66,7 +66,7 @@ func Upgrade(existingVersion string, nextVersion string) (string, error) { if nextVersion == existingVersion { return nextVersion, nil } - url := "https://github.com/sst/ion/releases/download/" + nextVersion + "/sst-" + filename + url := "https://github.com/sst/sst/releases/download/" + nextVersion + "/sst-" + filename slog.Info("downloading", "url", url) resp, err := http.Get(url) if err != nil {