mastotool/.goreleaser.yml

75 lines
1.3 KiB
YAML

env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
- id: "mastotool"
binary: mastotool
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- freebsd
- darwin
- windows
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 6
- 7
archives:
- id: default
builds:
- mastotool
format_overrides:
- goos: windows
format: zip
replacements:
windows: Windows
darwin: Darwin
386: i386
amd64: x86_64
nfpms:
- builds:
- mastotool
vendor: muesli
homepage: "https://fribbledom.com/"
maintainer: "Christian Muehlhaeuser <muesli@gmail.com>"
description: "Mastodon CLI tool & statistics generator"
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
brews:
- goarm: 6
tap:
owner: muesli
name: homebrew-tap
commit_author:
name: "Christian Muehlhaeuser"
email: "muesli@gmail.com"
homepage: "https://fribbledom.com/"
description: "Mastodon CLI tool & statistics generator"
# skip_upload: true
signs:
- artifacts: checksum
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"