Skip to content

Commit

Permalink
TEMP: Enforce static linking
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-farries committed Dec 11, 2024
1 parent dfa64ed commit 37df9c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 37df9c7

Please sign in to comment.