waybar-mpris/.goreleaser.yml

56 lines
1.1 KiB
YAML
Raw Normal View History

2021-01-15 23:15:45 +01:00
project_name: waybar-mpris
release:
gitea:
owner: hrfee
name: waybar-mpris
name_template: "v{{.Version}}"
before:
hooks:
- go mod download
builds:
2021-05-24 21:27:45 +02:00
- id: main
dir: ./
2021-01-15 23:15:45 +01:00
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm
- arm64
archives:
2021-05-24 21:27:45 +02:00
- id: main
builds:
- main
replacements:
2021-01-15 23:15:45 +01:00
linux: Linux
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
2021-06-01 00:19:31 +02:00
name_template: "0.0.0-{{.Env.NFPM_EPOCH}}"
2021-01-15 23:15:45 +01:00
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
2021-05-24 21:27:45 +02:00
nfpms:
- id: main
file_name_template: '{{ .ProjectName }}-git-{{ .ShortCommit }}_{{ .Arch }}'
package_name: waybar-mpris
homepage: https://git.hrfee.pw/hrfee/waybar-mpris
description: MPRIS2 waybar component
maintainer: Harvey Tindall <hrfee@hrfee.dev>
license: MIT
vendor: hrfee.dev
version_metadata: git
builds:
- main
2021-05-24 22:48:44 +02:00
contents:
2021-05-24 21:27:45 +02:00
- src: ./LICENSE
dst: /usr/share/licenses/waybar-mpris
formats:
- deb
- rpm