Skip to content

Commit

Permalink
jx: update ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam committed Aug 2, 2020
1 parent ca9f18d commit 368f062
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/applications/networking/cluster/jx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 368f062

Please sign in to comment.