Skip to content

Commit

Permalink
revert to static version
Browse files Browse the repository at this point in the history
  • Loading branch information
rostrovsky committed Oct 31, 2023
1 parent b2d1ec5 commit 7728a57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ import (
"gopkg.in/yaml.v2"
)

const version = "0.1.0"

var logger *slog.Logger
var Version = "[[set by build]]"

type CommandConfig struct {
Info string `yaml:"_info"`
Expand All @@ -23,7 +24,7 @@ type CommandConfig struct {
var rootCmd = &cobra.Command{
Use: "na",
Short: "Dynamically builds CLI based on a YAML config",
Version: Version,
Version: version,
}

func init() {
Expand Down

0 comments on commit 7728a57

Please sign in to comment.