Skip to content

Commit

Permalink
fix(selfupdate): version parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
anfragment committed Dec 4, 2023
1 parent f0d271a commit 1f1cc07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/selfupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func checkForUpdates() (bool, *selfupdate.Release) {
return false, nil
}

v := semver.MustParse(Version)
v, _ := semver.ParseTolerant(Version) // ParseTolerant allows for the non-standard "v" prefix
if !found || latest.Version.LTE(v) {
return false, nil
}
Expand Down

0 comments on commit 1f1cc07

Please sign in to comment.