Skip to content

Commit fa50b1d

Browse files
committed
fix: build statically linked binaries on linux
1 parent 702f782 commit fa50b1d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.goreleaser.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ project_name: supabase
22
builds:
33
- id: supabase
44
binary: supabase
5+
flags:
6+
- -trimpath
57
ldflags:
6-
- -X github.com/supabase/cli/internal/utils.Version={{.Version}}
8+
- -s -w -X github.com/supabase/cli/internal/utils.Version={{.Version}}
9+
env:
10+
- CGO_ENABLED=0
711
targets:
812
- darwin_amd64
913
- darwin_arm64

0 commit comments

Comments
 (0)