mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
build: releases with actions and docker
This commit is contained in:
parent
773e57afe6
commit
2e8d0950c1
6 changed files with 191 additions and 0 deletions
42
.goreleaser.yml
Normal file
42
.goreleaser.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
- arm
|
||||
- arm64
|
||||
goarm:
|
||||
- 6
|
||||
ignore:
|
||||
- goos: windows
|
||||
goarch: arm
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
main: ./cmd/autobrr/main.go
|
||||
binary: autobrr
|
||||
ldflags:
|
||||
- -s -w
|
||||
|
||||
archives:
|
||||
- replacements:
|
||||
amd64: x86_64
|
||||
|
||||
release:
|
||||
prerelease: auto
|
||||
|
||||
checksum:
|
||||
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- '^docs:'
|
||||
- '^test:'
|
Loading…
Add table
Add a link
Reference in a new issue