diff --git a/.goreleaser.yml b/.goreleaser.yml index 3ae8d78..f4e8102 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,12 +19,6 @@ builds: - -X github.com/torrentclaw/torrentclaw-cli/internal/cmd.Version={{.Version}} - -X github.com/torrentclaw/torrentclaw-cli/internal/sentry.dsn={{ .Env.SENTRY_DSN }} -upx: - - enabled: true - goos: - - linux - - windows - archives: - format: tar.gz name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" diff --git a/Makefile b/Makefile index cfd1230..c17b5e4 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,6 @@ all: fmt vet lint test build build: go build -ldflags '$(LDFLAGS)' -trimpath -o $(BINARY) ./cmd/unarr/ -## Build small binary (stripped + UPX compressed, ~5MB) -build-small: build - @command -v upx >/dev/null 2>&1 && upx --best -q $(BINARY) || echo "upx not installed — install with: brew install upx" ## Run all tests test: