diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8e87ec05..b2de1dcd 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -11,6 +11,8 @@ builds: binary: pgroll ldflags: - -X github.com/xataio/pgroll/cmd.Version={{ .Version }} + - -linkmode external + - -extldflags "-static"' env: - CGO_ENABLED=1 goos: