Skip to content

Commit e3b42fa

Browse files
committed
add bsd builds
1 parent 8a5cac1 commit e3b42fa

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.goreleaser.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,27 @@ builds:
2828
- -tags=plugins,keystore
2929
ldflags:
3030
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -X main.tags=plugins,keystore
31+
- id: buildbsd
32+
env:
33+
- CGO_ENABLED=0
34+
main: ./cmd/ccat
35+
goos:
36+
- freebsd
37+
- netbsd
38+
- openbsd
39+
- dragonfly
40+
41+
goarch:
42+
- amd64
43+
- arm64
44+
- arm
45+
goarm: ["6", "7"]
46+
mod_timestamp: '{{ .CommitTimestamp }}'
47+
flags:
48+
- -v
49+
- -tags=plugins
50+
ldflags:
51+
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -X main.tags=plugins
3152
archives:
3253
- name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
3354
files:

0 commit comments

Comments
 (0)