mastotool/.goreleaser.yml

78 lines
1.4 KiB
YAML
Raw Permalink 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"
2020-11-07 06:14:16 +01:00
env:
- CGO_ENABLED=0
2019-08-11 21:49:54 +02:00
binary: mastotool
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- freebsd
2020-10-06 04:14:55 +02:00
- openbsd
2020-10-04 10:26:47 +02:00
- darwin
- windows
2019-08-11 21:49:54 +02:00
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 6
- 7
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
darwin: Darwin
2020-10-04 10:26:47 +02:00
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:
2020-10-04 10:26:47 +02:00
- 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
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:"