Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
upgrade: use new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Oct 21, 2024
1 parent eb456f8 commit 82b5ef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmd/sst/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions pkg/global/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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 {
Expand Down

0 comments on commit 82b5ef5

Please sign in to comment.