Set tk version at release time

pull/29/head
stefanprodan 5 years ago
parent 2cf33b04f9
commit f231107869

@ -1,5 +1,7 @@
builds:
- main: ./cmd/tk
ldflags:
- -s -w -X main.VERSION={{ .Version }}
binary: tk
goos:
- darwin

@ -11,7 +11,7 @@ import (
_ "k8s.io/client-go/plugin/pkg/client/auth"
)
var VERSION = "0.0.1-alpha.1"
var VERSION = "0.0.0-dev.0"
var rootCmd = &cobra.Command{
Use: "tk",

Loading…
Cancel
Save