Skip to content

Commit

Permalink
fix upgrade telling you to upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsdev0 committed Jul 22, 2024
1 parent 879f2ee commit 1749430
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cmd

import (
"fmt"
"os"
"os/exec"
"regexp"

Expand Down Expand Up @@ -31,6 +32,7 @@ var upgradeCmd = &cobra.Command{
re := regexp.MustCompile(`v\d+\.\d+\.\d+`)
version := re.FindString(string(b))
fmt.Printf("Successfully upgraded to %s!\n", version)
os.Exit(0)
},
}

Expand Down

0 comments on commit 1749430

Please # to comment.