Skip to content

Commit

Permalink
fix version in release
Browse files Browse the repository at this point in the history
  • Loading branch information
horpto committed Mar 27, 2023
1 parent b720c05 commit 1e8e47f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"github.com/matryer/moq/pkg/moq"
)

// Version is the command version, injected at build time.
var Version string = "dev"
// version is the command version, injected at build time.
var version string = "dev"

type userFlags struct {
outFile string
Expand Down Expand Up @@ -54,7 +54,7 @@ func main() {
flags.args = flag.Args()

if *printVersion {
fmt.Printf("moq version %s\n", Version)
fmt.Printf("moq version %s\n", version)
os.Exit(0)
}

Expand Down

0 comments on commit 1e8e47f

Please sign in to comment.