mastotool/.goreleaser.yml

88 lines
1.6 KiB
YAML
Raw Normal View History

2019-08-11 21:49:54 +02:00
env:
- GO111MODULE=on
before:
hooks:
- go mod download
2019-08-11 21:49:54 +02:00
builds:
- id: "mastotool"
2019-08-11 21:49:54 +02:00
binary: mastotool
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- freebsd
- windows
2019-08-11 21:49:54 +02:00
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 6
- 7
- id: "darwin"
binary: "mastotool"
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- darwin
goarch:
- amd64
2019-08-11 21:49:54 +02:00
archives:
- id: default
builds:
- mastotool
format_overrides:
- goos: windows
format: zip
2019-08-11 21:49:54 +02:00
replacements:
windows: Windows
386: i386
amd64: x86_64
- id: darwin
builds:
- darwin
replacements:
darwin: Darwin
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:
- ids:
- darwin
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
2019-08-11 21:49:54 +02:00
checksum:
name_template: "checksums.txt"
2019-08-11 21:49:54 +02:00
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"