Skip to content

Commit

Permalink
chore: update goreleaser build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Dec 12, 2023
1 parent 2667a7e commit 58e9648
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w -X github.com/supabase/cli/internal/utils.Version={{.Version}}
- -s -w -X github.com/supabase/cli/internal/utils.Version={{.Version}} -X github.com/supabase/cli/internal/utils.SentryDsn={{ .Env.SENTRY_DSN }}
env:
- CGO_ENABLED=0
targets:
Expand All @@ -14,6 +14,7 @@ builds:
- linux_amd64
- linux_arm64
- windows_amd64
- windows_arm64
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
release:
Expand Down

0 comments on commit 58e9648

Please sign in to comment.