gatekeeper: set version (#397665)
This commit is contained in:
@@ -22,6 +22,10 @@ buildGoModule rec {
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-X github.com/open-policy-agent/gatekeeper/v3/pkg/version.Version=${version}"
|
||||
];
|
||||
|
||||
subPackages = [ "cmd/gator" ];
|
||||
|
||||
postInstall = ''
|
||||
|
||||
Reference in New Issue
Block a user