3
0
Fork 0
forked from mirrors/nixpkgs

jx: update ldflags

This commit is contained in:
Mario Rodas 2020-08-02 04:20:00 -05:00
parent ca9f18df45
commit 368f062ec7
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

View file

@ -19,8 +19,10 @@ buildGoModule rec {
buildFlagsArray = ''
-ldflags=
-s -w
-X github.com/jenkins-x/jx/pkg/version.Version=${version}
-X github.com/jenkins-x/jx/pkg/version.Revision=${version}
-X github.com/jenkins-x/jx/pkg/version.Revision=${src.rev}
-X github.com/jenkins-x/jx/pkg/version.GitTreeState=clean
'';
postInstall = ''