Skip to content

Commit

Permalink
Update update.go (#51)
Browse files Browse the repository at this point in the history
remove `-cli` from update file name
  • Loading branch information
terrafied authored Oct 9, 2023
1 parent 19127c9 commit 9c9af63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Update(*cli.Context) (err error) {
if GOOS == "windows" {
extension = "zip"
}
url := fmt.Sprintf("https://github.com/harness/harness-cli/releases/download/%s/harness-cli-%s-%s-%s.%s", newVersion, newVersion, GOOS, GOARCH, extension)
url := fmt.Sprintf("https://github.com/harness/harness-cli/releases/download/%s/harness-%s-%s-%s.%s", newVersion, newVersion, GOOS, GOARCH, extension)

if GOOS == "windows" {
fmt.Printf("%s\n", yellow("Auto update support is not available for windows"))
Expand Down

0 comments on commit 9c9af63

Please sign in to comment.