aws-iam-authenticator: fix ldflags
- changed ldflags to reflect 4c82478b1f
This commit is contained in:
parent
1b3a480c0b
commit
8722479fd4
1 changed files with 6 additions and 1 deletions
|
@ -15,7 +15,12 @@ buildGoModule rec {
|
|||
deleteVendor = true;
|
||||
vendorSha256 = null;
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
|
||||
ldflags = let PKG = "sigs.k8s.io/aws-iam-authenticator"; in [
|
||||
"-s" "-w"
|
||||
"-X ${PKG}/pkg.Version=${version}"
|
||||
"-X ${PKG}/pkg.BuildDate=1970-01-01T01:01:01Z"
|
||||
"-X ${PKG}/pkg.CommitID=${version}"
|
||||
];
|
||||
|
||||
subPackages = [ "cmd/aws-iam-authenticator" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue