Skip to content

Commit

Permalink
fix: 修正版本号输出不正确的问题
Browse files Browse the repository at this point in the history
fix: 修正版本号为v0.0.5
  • Loading branch information
hamster1963 committed Jul 11, 2023
1 parent fa73f40 commit f4486d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cmd

import (
"context"
"fmt"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gcmd"
"github.com/gogf/gf/v2/os/glog"
Expand All @@ -16,7 +17,7 @@ var (
Brief: "return version",
Description: "return version",
Func: func(ctx context.Context, parser *gcmd.Parser) (err error) {
glog.Print(ctx, "v0.0.4")
fmt.Print("v0.0.5")
return nil
},
}
Expand Down

0 comments on commit f4486d3

Please sign in to comment.