Skip to content

Commit 50d785b

Browse files
committed
goreleaser update
1 parent e4c9128 commit 50d785b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.goreleaser.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,20 @@ builds:
1515
- arm
1616
- arm64
1717

18+
ignore:
19+
- goos: darwin
20+
goarch: '386'
21+
- goos: windows
22+
goarch: 'arm'
23+
- goos: windows
24+
goarch: 'arm64'
25+
1826
binary: '{{ .ProjectName }}'
1927
main: cmd/aix/main.go
2028

2129
archives:
2230
- format: zip
23-
replacements:
24-
darwin: macOS
31+
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'
2532

2633
checksum:
2734
algorithm: sha256
@@ -31,7 +38,7 @@ announce:
3138
enabled: true
3239
channel: '#release'
3340
username: GoReleaser
34-
message_template: 'New Release: {{ .ProjectName }} {{ .Tag }} is published! Check it out at {{ .ReleaseURL }}'
41+
message_template: 'New Release: {{ .ProjectName }} {{.Tag}} is published! Check it out at {{ .ReleaseURL }}'
3542

3643
discord:
3744
enabled: true

0 commit comments

Comments
 (0)