Skip to content

Commit b13f055

Browse files
authored
Add OpenBSD build, refine archive formats (#24)
Closes #13
1 parent 5bf34dc commit b13f055

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.goreleaser.yaml

+10-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ builds:
1010
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.commitDate={{.CommitTimestamp}}"
1111
goos:
1212
- freebsd
13+
- openbsd
14+
# netbsd and dragonfly do not currently build due to wireguard-go.
15+
# - netbsd
16+
# - dragonfly
1317
- windows
1418
- linux
1519
- darwin
@@ -41,10 +45,13 @@ nfpms:
4145
- apk
4246
- deb
4347
archives:
44-
- id: "zip"
45-
format: zip
46-
- id: "tarball"
48+
- id: "tar_or_zip"
4749
format: tar.gz
50+
format_overrides:
51+
- goos: windows
52+
format: zip
53+
- goos: darwin
54+
format: zip
4855
checksum:
4956
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
5057
algorithm: sha256

0 commit comments

Comments
 (0)