Skip to content

Commit bca076d

Browse files
authored
cmd: Return next bug fix version (#349)
This is an easy way to know if you're on an unreleased version
1 parent d8c0915 commit bca076d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/cmd/cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +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-
// TODO: When no version is set, return the next bug fix version
47+
// When no version is set, return the next bug fix version
4848
// after the most recent tag
49-
fmt.Printf("%s\n", "v1.0.0")
49+
fmt.Printf("%s\n", "v1.0.1")
5050
} else {
5151
fmt.Printf("%s\n", version)
5252
}

0 commit comments

Comments
 (0)