Skip to content

Commit

Permalink
fix version command, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jrslv committed Oct 15, 2020
1 parent ef6a550 commit 0520950
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import (
"github.com/spf13/viper"
)

// BinocsVersion semver
const BinocsVersion = "0.3.0"

const (
statusUnknown = 0
statusStepUp = 1
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ var versionCmd = &cobra.Command{
Print the Binocs version number
`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("binocs v0.2")
fmt.Println("binocs " + BinocsVersion)
},
}

0 comments on commit 0520950

Please sign in to comment.