unarr/.goreleaser.yml
Deivid Soto 3d6142a62e feat: add Sentry error reporting
Capture command errors and panics with Sentry SDK. DSN injected
at build time via ldflags (dev builds silent, releases report).
Opt-out: UNARR_NO_TELEMETRY=1.
2026-03-29 01:00:26 +01:00

55 lines
1 KiB
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 }}
upx:
- enabled: true
goos:
- linux
- windows
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"