release updates

This commit is contained in:
mr0xb 2026-08-24 16:01:16 -04:00
commit 58e9c03812
2 changed files with 12 additions and 6 deletions

View file

@ -46,6 +46,12 @@ jobs:
- name: Build release binaries
run: make build
- name: Install UPX
run: sudo apt-get update && sudo apt-get install -y upx-ucl
- name: Compress Linux binaries
run: upx --best --lzma dist/*-linux-*
- name: Publish GitHub release
uses: softprops/action-gh-release@v2
with:

View file

@ -18,11 +18,11 @@ all: test build
## build — compile for all target platforms
build: $(TARGETS)
darwin/amd64:
GOOS=darwin GOARCH=amd64 go build $(LDFLAGS) -o $(OUTDIR)/$(BINARY)-darwin-amd64 .
#darwin/amd64:
# GOOS=darwin GOARCH=amd64 go build $(LDFLAGS) -o $(OUTDIR)/$(BINARY)-darwin-amd64 .
darwin/arm64:
GOOS=darwin GOARCH=arm64 go build $(LDFLAGS) -o $(OUTDIR)/$(BINARY)-darwin-arm64 .
#darwin/arm64:
# GOOS=darwin GOARCH=arm64 go build $(LDFLAGS) -o $(OUTDIR)/$(BINARY)-darwin-arm64 .
linux/amd64:
GOOS=linux GOARCH=amd64 go build $(LDFLAGS) -o $(OUTDIR)/$(BINARY)-linux-amd64 .
@ -30,8 +30,8 @@ linux/amd64:
linux/arm64:
GOOS=linux GOARCH=arm64 go build $(LDFLAGS) -o $(OUTDIR)/$(BINARY)-linux-arm64 .
linux/arm:
GOOS=linux GOARCH=arm GOARM=7 go build $(LDFLAGS) -o $(OUTDIR)/$(BINARY)-linux-armv7 .
#linux/arm:
# GOOS=linux GOARCH=arm GOARM=7 go build $(LDFLAGS) -o $(OUTDIR)/$(BINARY)-linux-armv7 .
## test — run all tests
test: