Merge pull request #300769 from hojerst/fix-vendir-version
vendir: fix version number in binary
This commit is contained in:
commit
b6d85c936f
|
@ -15,6 +15,10 @@ buildGoModule rec {
|
|||
|
||||
subPackages = [ "cmd/vendir" ];
|
||||
|
||||
ldflags = [
|
||||
"-X carvel.dev/vendir/pkg/vendir/version.Version=${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively";
|
||||
mainProgram = "vendir";
|
||||
|
|
Loading…
Reference in New Issue