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

Commit 82b5ef5

Browse files
committedOct 21, 2024·
upgrade: use new repo
1 parent eb456f8 commit 82b5ef5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 

‎cmd/sst/ui.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package main
33
import (
44
"fmt"
55
"log/slog"
6-
"os"
76

87
"github.com/pulumi/pulumi/sdk/v3/go/common/apitype"
98
"github.com/sst/ion/cmd/sst/cli"

‎pkg/global/upgrade.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func Upgrade(existingVersion string, nextVersion string) (string, error) {
3939
return "", fmt.Errorf("unsupported architecture")
4040
}
4141
if nextVersion == "" {
42-
resp, err := http.Get("https://api.github.com/repos/sst/ion/releases/latest")
42+
resp, err := http.Get("https://api.github.com/repos/sst/sst/releases/latest")
4343
if err != nil {
4444
return "", err
4545
}
@@ -66,7 +66,7 @@ func Upgrade(existingVersion string, nextVersion string) (string, error) {
6666
if nextVersion == existingVersion {
6767
return nextVersion, nil
6868
}
69-
url := "https://github.com/sst/ion/releases/download/" + nextVersion + "/sst-" + filename
69+
url := "https://github.com/sst/sst/releases/download/" + nextVersion + "/sst-" + filename
7070
slog.Info("downloading", "url", url)
7171
resp, err := http.Get(url)
7272
if err != nil {

0 commit comments

Comments
 (0)