We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2471b6d commit d8c0915Copy full SHA for d8c0915
internal/cmd/cmd.go
@@ -44,7 +44,9 @@ var versionCmd = &cobra.Command{
44
Short: "Print the sqlc version number",
45
Run: func(cmd *cobra.Command, args []string) {
46
if version == "" {
47
- fmt.Printf("%s\n", "SNAPSHOT")
+ // TODO: When no version is set, return the next bug fix version
48
+ // after the most recent tag
49
+ fmt.Printf("%s\n", "v1.0.0")
50
} else {
51
fmt.Printf("%s\n", version)
52
}
0 commit comments