Skip to content

Commit 1e8e47f

Browse files
committed
fix version in release
1 parent b720c05 commit 1e8e47f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"github.com/matryer/moq/pkg/moq"
1414
)
1515

16-
// Version is the command version, injected at build time.
17-
var Version string = "dev"
16+
// version is the command version, injected at build time.
17+
var version string = "dev"
1818

1919
type userFlags struct {
2020
outFile string
@@ -54,7 +54,7 @@ func main() {
5454
flags.args = flag.Args()
5555

5656
if *printVersion {
57-
fmt.Printf("moq version %s\n", Version)
57+
fmt.Printf("moq version %s\n", version)
5858
os.Exit(0)
5959
}
6060

0 commit comments

Comments
 (0)