Skip to content

Commit

Permalink
fix: Fix update check tag matching (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
sindrel authored Nov 25, 2023
1 parent 8b56eac commit 8fb6ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var versionCmd = &cobra.Command{
fmt.Printf("v%s (%s)\n", version, string(commit[0:7]))

if !noVersionCheck {
err := internal.PrintVersionCheck(githubRepoUser, githubRepoName, version)
err := internal.PrintVersionCheck(githubRepoUser, githubRepoName, "v"+version)
if err != nil {
fmt.Fprintf(os.Stderr, "Unable to check for latest version: %s\n", err)
os.Exit(1)
Expand Down

0 comments on commit 8fb6ab2

Please sign in to comment.