Skip to content

Commit af4080d

Browse files
committed
Add OpenBSD build, refine archive formats
Closes #13
1 parent 5bf34dc commit af4080d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.goreleaser.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ builds:
1010
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.commitDate={{.CommitTimestamp}}"
1111
goos:
1212
- freebsd
13+
- openbsd
1314
- windows
1415
- linux
1516
- darwin
@@ -41,10 +42,13 @@ nfpms:
4142
- apk
4243
- deb
4344
archives:
44-
- id: "zip"
45-
format: zip
46-
- id: "tarball"
45+
- id: "tar_or_zip"
4746
format: tar.gz
47+
format_overrides:
48+
- goos: windows
49+
format: zip
50+
- goos: darwin
51+
format: zip
4852
checksum:
4953
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
5054
algorithm: sha256

0 commit comments

Comments
 (0)