Merge pull request #300769 from hojerst/fix-vendir-version

vendir: fix version number in binary
This commit is contained in:
Peder Bergebakken Sundt 2024-04-16 22:51:36 +02:00 committed by GitHub
commit b6d85c936f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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";