1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-28 10:28:36 +00:00

Added version in cli (#990)

* version added in kyverno cli
This commit is contained in:
Yuvraj 2020-07-14 13:46:03 -07:00 committed by GitHub
parent 71c4cc3241
commit 6ec593a791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,8 @@ builds:
binary: kyverno
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/nirmata/kyverno/pkg/version.BuildVersion={{.Version}} -X github.com/nirmata/kyverno/pkg/version.BuildHash={{ .FullCommit }} -X github.com/nirmata/kyverno/pkg/version.BuildTime={{ .Date }}
goos:
- linux
- darwin