Skip to content

Commit 47263ac

Browse files
chore: update .goreleaser.yml to latest format (#41)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Takashi Kawachi <tkawachi@gmail.com>
1 parent 1f66f29 commit 47263ac

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

.goreleaser.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,24 @@ builds:
1313
- linux
1414
- windows
1515
- darwin
16+
goarch:
17+
- amd64
18+
- arm64
19+
mod_timestamp: '{{ .CommitTimestamp }}'
1620
archives:
17-
- replacements:
18-
darwin: Darwin
19-
linux: Linux
20-
windows: Windows
21-
386: i386
22-
amd64: x86_64
21+
- format_overrides:
22+
- goos: windows
23+
format: zip
24+
name_template: >-
25+
{{ .ProjectName }}_
26+
{{- title .Os }}_
27+
{{- if eq .Arch "amd64" }}x86_64
28+
{{- else if eq .Arch "386" }}i386
29+
{{- else }}{{ .Arch }}{{ end }}
2330
checksum:
2431
name_template: 'checksums.txt'
2532
snapshot:
26-
name_template: "{{ .Tag }}-next"
33+
name_template: "{{ incpatch .Version }}-next"
2734
changelog:
2835
sort: asc
2936
filters:

0 commit comments

Comments
 (0)