kubecfg: add version to ldflags
So that the version subcommand will list the actual version, instead of just "(dev build)".
This commit is contained in:
parent
e341fb0a36
commit
b862ed9107
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ buildGoPackage {
|
|||
|
||||
goPackagePath = "github.com/bitnami/kubecfg";
|
||||
|
||||
ldflags = [ "-X main.version=v${version}" ];
|
||||
|
||||
meta = {
|
||||
description = "A tool for managing Kubernetes resources as code";
|
||||
homepage = "https://github.com/bitnami/kubecfg";
|
||||
|
|
Loading…
Reference in a new issue