vendir: fix version number in binary

this is needed, so `minimumRequiredVersion` of vendir.yml works as
expected.
This commit is contained in:
Stefan Hojer 2024-04-01 21:08:33 +02:00
parent f819df36af
commit 50af023d02
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

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