mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
Set tk version at release time
This commit is contained in:
parent
2cf33b04f9
commit
f231107869
2 changed files with 3 additions and 1 deletions
|
|
@ -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…
Reference in a new issue