Skip to content

Commit

Permalink
Fix ldflags.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlewi committed Apr 6, 2024
1 parent 0cb848b commit 416e3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ builds:
# Custom ldflags templates.
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
ldflags:
- "-s -w -X github.com/jlewi/foyle/cmd.version={{.Version}} -X github.com/jlewi/foyle/cmd.commit={{.Commit}} -X github.com/jlewi/foyle/cmd.date={{.Date}} -X github.com/jlewi/foyle/cmd.builtBy=goreleaser"
- "-s -w -X github.com/jlewi/foyle/app/cmd.version={{.Version}} -X github.com/jlewi/foyle/app/cmd.commit={{.Commit}} -X github.com/jlewi/foyle/app/cmd.date={{.Date}} -X github.com/jlewi/foyle/app/cmd.builtBy=goreleaser"
archives:
# https://goreleaser.com/customization/archive/?h=archives
- id: "binary"
Expand Down

0 comments on commit 416e3d5

Please sign in to comment.