Skip to content

Commit

Permalink
correct ldflags in goreleaser config
Browse files Browse the repository at this point in the history
- Fixed incorrect ldflags in the goreleaser configuration for linux arm64 builds.  The previous configuration contained an extra `-X` flag that caused errors.
  • Loading branch information
flarco committed Dec 3, 2024
1 parent 53fd925 commit 7fd8dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.linux.arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ builds:
goos:
- linux
ldflags:
- "-X 'github.com/slingdata-io/sling-cli/core.Version={{.Version}}' -X 'github.com/slingdata-io/sling-cli/core/env.PlausibleURL={{.Env.PLAUSIBLE_URL}}' -X 'github.com/slingdata-io/sling-cli/core/env.SentryDsn={{.Env.SENTRY_DSN}} -X 'github.com/slingdata-io/sling/agent.Version={{.Version}}'"
- "-X 'github.com/slingdata-io/sling-cli/core.Version={{.Version}}' -X 'github.com/slingdata-io/sling-cli/core/env.PlausibleURL={{.Env.PLAUSIBLE_URL}}' -X 'github.com/slingdata-io/sling-cli/core/env.SentryDsn={{.Env.SENTRY_DSN}}' -X 'github.com/slingdata-io/sling/agent.Version={{.Version}}'"

snapshot:
name_template: "{{ incpatch .Version }}"
Expand Down

0 comments on commit 7fd8dc0

Please sign in to comment.