Files
SerialTerminalForWindowsTer…/.goreleaser.yaml
T
JiXieShi 4f6d1b7b25 chore: update goreleaser config to v2 format
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 04:17:25 +08:00

36 lines
614 B
YAML

version: 2
builds:
- main: ./cmd/serialterminal
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ldflags:
- -s -w
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"