Skip to content

Commit 388866b

Browse files
Add macos
1 parent 4f0ebe6 commit 388866b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.goreleaser.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ builds:
2626
# env:
2727
# - CGO_ENABLED=0
2828

29-
# - id: macos
30-
# binary: bin/sail
31-
# main: ./
32-
# goos: [darwin]
33-
# goarch: [amd64, arm64]
29+
- id: macos
30+
binary: bin/sail
31+
main: ./
32+
goos: [darwin]
33+
goarch: [amd64, arm64]
3434

3535
archives:
36-
# - id: nix
37-
# ids: [linux]
38-
# name_template: '{{ .ProjectName }}_{{ .Version }}_{{ replace .Os "darwin" "macos" }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
39-
# wrap_in_directory: true
40-
# formats: tar.gz
41-
# files:
42-
# - LICENSE
36+
- id: nix
37+
ids: [macos]
38+
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ replace .Os "darwin" "macos" }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
39+
wrap_in_directory: true
40+
formats: tar.gz
41+
files:
42+
- LICENSE
4343

4444
- id: windows
4545
ids: [windows]

0 commit comments

Comments
 (0)