Skip to content

Commit

Permalink
Build: Enable builds for FreeBSD and OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
zsrv committed Feb 13, 2023
1 parent b8e4d6f commit 776a14d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ before:

builds:
- ldflags:
- -s -w -X {{.ModulePath}}/pkg/build.buildVersion={{.Version}} -X {{.ModulePath}}/pkg/build.buildCommit={{.FullCommit}} -X {{.ModulePath}}/pkg/build.buildDate={{.Date}} -X {{.ModulePath}}/pkg/build.builtBy=goreleaser
- -s -w
- -X {{.ModulePath}}/pkg/build.buildVersion={{.Version}}
- -X {{.ModulePath}}/pkg/build.buildCommit={{.FullCommit}}
- -X {{.ModulePath}}/pkg/build.buildDate={{.Date}}
- -X {{.ModulePath}}/pkg/build.builtBy=goreleaser
env:
- CGO_ENABLED=0
goos:
- darwin
- freebsd
- linux
- openbsd
- windows
goarch:
- amd64
Expand Down

0 comments on commit 776a14d

Please sign in to comment.