Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit b587b4c

Browse files
committed
fixed Version
1 parent e04d985 commit b587b4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/gqldoc/main.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ import (
1717
"github.com/urfave/cli/v2"
1818
)
1919

20+
// Version holds the complete version number. Filled in at linking time.
21+
var Version = "v0.0.0+unknown"
22+
2023
func main() {
2124
if err := run(context.Background()); err != nil {
2225
fmt.Fprintf(os.Stderr, "err: %+v", err)
2326
os.Exit(1)
2427
}
2528
}
2629

27-
const Version = "v0.0.1"
28-
2930
func run(ctx context.Context) error {
3031
app := cli.NewApp()
3132
app.Name = "gqldoc"

0 commit comments

Comments
 (0)