Skip to content

Commit

Permalink
fix(update): correct releases naming rules
Browse files Browse the repository at this point in the history
  • Loading branch information
unbyte committed Mar 11, 2021
1 parent 3b40f3c commit e742d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/handler/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (u *UpdateHandler) download(url string) (string, error) {
}

func (u *UpdateHandler) Update() error {
url := fmt.Sprintf("https://github.com/%s/releases/latest/download/ipgw_%s_%s.zip", ipgw.Repo, runtime.GOOS, runtime.GOARCH)
url := fmt.Sprintf("https://github.com/%s/releases/latest/download/ipgw-%s-%s.zip", ipgw.Repo, runtime.GOOS, runtime.GOARCH)
downloaded, err := u.download(url)
if err != nil {
return err
Expand Down

0 comments on commit e742d08

Please sign in to comment.