hetzner-kube: set the version via ldflags
This commit is contained in:
parent
8f5b40591d
commit
8f8e71c0a1
@ -13,6 +13,11 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "1mx74nci7j7h44pw1qf5fxkvfnhppj46898f8895ay8hhxd28lbm";
|
modSha256 = "1mx74nci7j7h44pw1qf5fxkvfnhppj46898f8895ay8hhxd28lbm";
|
||||||
|
|
||||||
|
buildFlagsArray = ''
|
||||||
|
-ldflags=
|
||||||
|
-X github.com/xetys/hetzner-kube/cmd.version=${version}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A CLI tool for provisioning Kubernetes clusters on Hetzner Cloud";
|
description = "A CLI tool for provisioning Kubernetes clusters on Hetzner Cloud";
|
||||||
homepage = https://github.com/xetys/hetzner-kube;
|
homepage = https://github.com/xetys/hetzner-kube;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user