fix: Code review fixes for GoReleaser setup

- Change version.go constants to variables for ldflags to work
- Fix changelog regex to properly match feat(scope): and fix(scope):
- Enable windows/arm64 builds (pure Go, no CGO issues)
- Add concurrency guard to release workflow

Oracle review feedback implemented.
This commit is contained in:
Steve Yegge
2025-10-23 19:20:07 -07:00
parent 50eb9ce550
commit e009296f13
4 changed files with 93 additions and 131 deletions

View File

@@ -23,10 +23,6 @@ builds:
goarch:
- amd64
- arm64
# Ignore combinations that don't make sense
ignore:
- goos: windows
goarch: arm64
ldflags:
- -s -w
- -X main.Version={{.Version}}
@@ -62,10 +58,10 @@ changelog:
- "Merge branch"
groups:
- title: "Features"
regexp: "^.*feat[(\\w)]*:+.*$"
regexp: '^.*feat(\(\w+\))?:.*$'
order: 0
- title: "Bug Fixes"
regexp: "^.*fix[(\\w)]*:+.*$"
regexp: '^.*fix(\(\w+\))?:.*$'
order: 1
- title: "Others"
order: 999