kubecfg: add version to ldflags

So that the version subcommand will list the actual version, instead of
just "(dev build)".
conduit-nginx
Tom Wieczorek 2021-10-20 10:37:40 +02:00
parent e341fb0a36
commit b862ed9107
No known key found for this signature in database
GPG Key ID: FE33A2282371E831
1 changed files with 2 additions and 0 deletions

View File

@ -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";