vendir: fix version number in binary
this is needed, so `minimumRequiredVersion` of vendir.yml works as expected.
This commit is contained in:
parent
f819df36af
commit
50af023d02
|
@ -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