Skip to content

Commit

Permalink
refactor: kcl cli documents and bump version to v0.8.1
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <xpf6677@163.com>
  • Loading branch information
Peefy committed Mar 7, 2024
1 parent a5965aa commit f29deb9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0
0.8.1
2 changes: 1 addition & 1 deletion cmd/kcl/commands/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewLintCmd() *cobra.Command {
o := options.NewRunOptions()
cmd := &cobra.Command{
Use: "lint",
Short: "Run KCL codes.",
Short: "Lint KCL codes.",
Long: lintDesc,
Example: lintExample,
RunE: func(_ *cobra.Command, args []string) error {
Expand Down
3 changes: 1 addition & 2 deletions cmd/kcl/commands/play.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ const (
kcl play --addr 127.0.0.1:80 --open
# Only listen the address and do not open the the browser.
kcl play
`
kcl play`
)

var (
Expand Down
3 changes: 2 additions & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ func getVersion(version string) string {
}

const (
VersionTypeLatest = Version_0_8_0
VersionTypeLatest = Version_0_8_1

Version_0_8_1 VersionType = "0.8.1"
Version_0_8_0 VersionType = "0.8.0"
Version_0_8_0_beta_1 VersionType = "0.8.0-beta.1"
Version_0_8_0_alpha_1 VersionType = "0.8.0-alpha.1"
Expand Down

0 comments on commit f29deb9

Please sign in to comment.