mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
build: build autobrr and autobrrctl into one archive
This commit is contained in:
parent
607390099f
commit
4c19187a2f
1 changed files with 22 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue