From 4c19187a2f5d425917cbb02a5fced5b21d4edd4d Mon Sep 17 00:00:00 2001 From: Ludvig Lundgren Date: Sat, 14 Aug 2021 18:11:18 +0200 Subject: [PATCH] build: build autobrr and autobrrctl into one archive --- .goreleaser.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index c1fcac9..f9c9f80 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,11 +24,33 @@ builds: binary: autobrr ldflags: - -s -w + - id: autobrrctl + env: + - CGO_ENABLED=0 + goos: + - linux + - windows + goarch: + - amd64 + - arm + - arm64 + goarm: + - 6 + ignore: + - goos: windows + goarch: arm + - goos: windows + goarch: arm64 + main: ./cmd/autobrrctl/main.go + binary: autobrrctl + ldflags: + - -s -w archives: - id: autobrr builds: - autobrr + - autobrrctl files: - none* replacements: