circleci-cli: update ldflags
This commit is contained in:
parent
c06eab791f
commit
c2dd712927
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ buildGoModule rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X github.com/CircleCI-Public/circleci-cli/version.Version=${version}" ];
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X github.com/CircleCI-Public/circleci-cli/version.Version=${version} -X github.com/CircleCI-Public/circleci-cli/version.Commit=${src.rev} -X github.com/CircleCI-Public/circleci-cli/version.packageManager=nix" ];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace data/data.go \
|
||||
|
|
Loading…
Reference in a new issue