Skip to content

Commit d8c0915

Browse files
authored
cmd: Return v1.0.0 (#348)
1 parent 2471b6d commit d8c0915

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/cmd/cmd.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ var versionCmd = &cobra.Command{
4444
Short: "Print the sqlc version number",
4545
Run: func(cmd *cobra.Command, args []string) {
4646
if version == "" {
47-
fmt.Printf("%s\n", "SNAPSHOT")
47+
// 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")
4850
} else {
4951
fmt.Printf("%s\n", version)
5052
}

0 commit comments

Comments
 (0)