Skip to content

Commit

Permalink
add bsd builds
Browse files Browse the repository at this point in the history
  • Loading branch information
batmac committed Nov 18, 2024
1 parent 8a5cac1 commit e3b42fa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,27 @@ builds:
- -tags=plugins,keystore
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -X main.tags=plugins,keystore
- id: buildbsd
env:
- CGO_ENABLED=0
main: ./cmd/ccat
goos:
- freebsd
- netbsd
- openbsd
- dragonfly

goarch:
- amd64
- arm64
- arm
goarm: ["6", "7"]
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -v
- -tags=plugins
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -X main.tags=plugins
archives:
- name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
Expand Down

0 comments on commit e3b42fa

Please sign in to comment.