Skip to content

Commit

Permalink
Merge pull request #291 from openconfig/fix-ldflags
Browse files Browse the repository at this point in the history
fix ldflags
  • Loading branch information
karimra authored Nov 12, 2023
2 parents 1d3c87e + aab845b commit 751ca66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/openconfig/gnmic/app.version={{.Version}} -X github.com/openconfig/gnmic/app.commit={{.ShortCommit}} -X github.com/openconfig/gnmic/app.date={{.Date}} -X github.com/openconfig/gnmic/app.gitURL={{.GitURL}}
- -s -w -X github.com/openconfig/gnmic/pkg/app.version={{.Version}} -X github.com/openconfig/gnmic/pkg/app.commit={{.ShortCommit}} -X github.com/openconfig/gnmic/pkg/app.date={{.Date}} -X github.com/openconfig/gnmic/pkg/app.gitURL={{.GitURL}}
goos:
- linux
- darwin
Expand Down

0 comments on commit 751ca66

Please sign in to comment.