unarr/.goreleaser.yml

49 lines
995 B
YAML

version: 2
project_name: unarr
builds:
- main: ./cmd/unarr/
binary: unarr
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X github.com/torrentclaw/torrentclaw-cli/internal/cmd.Version={{.Version}}
- -X github.com/torrentclaw/torrentclaw-cli/internal/sentry.dsn={{ .Env.SENTRY_DSN }}
archives:
- format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
brews:
- repository:
owner: torrentclaw
name: homebrew-tap
name: unarr
homepage: https://github.com/torrentclaw/torrentclaw-cli
description: "unarr — replaces the entire *arr stack"
license: MIT
install: |
bin.install "unarr"