Merge pull request #142320 from twz123/kubecfg-add-version
kubecfg: add -s, -w and version to ldflags
This commit is contained in:
commit
704f9f8a16
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ buildGoPackage {
|
|||
|
||||
goPackagePath = "github.com/bitnami/kubecfg";
|
||||
|
||||
ldflags = [ "-s" "-w" "-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