diff --git a/cmd/root.go b/cmd/root.go index 5168fca5..3e1eea32 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -9,10 +9,6 @@ import ( "github.com/spf13/cobra" ) -// Version -// Printed on subcommand `version` or flag `--version` -const Version = "v0.0.1" - var ( config = "~/.faas/config" // Location of the optional config file. verbose = false // Enable verbose logging (debug). diff --git a/cmd/version.go b/cmd/version.go index f195a5a2..f2d38106 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -6,6 +6,10 @@ import ( "github.com/spf13/cobra" ) +// Version +// Printed on subcommand `version` or flag `--version` +const Version = "v0.0.7" + func init() { root.AddCommand(versionCmd) }