-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
81 lines (77 loc) · 2.12 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
release:
footer: |
**Full Changelog**: https://github.com/caarlos0/discord-applemusic-rich-presence/compare/{{ .PreviousTag }}...{{ .Tag }}
---
_Released with [GoReleaser Pro](https://goreleaser.com/pro)!_
brews:
- name: discord-applemusic-rich-presence
repository:
owner: caarlos0
name: homebrew-tap
directory: Formula
description: "Apple Music Rich Presence for Discord"
homepage: "https://caarlos0.dev"
service: |
run [opt_bin/"discord-applemusic-rich-presence"]
keep_alive true
log_path var/"log/discord-applemusic-rich-presence.log"
error_log_path var/"log/discord-applemusic-rich-presence.log"
builds:
- id: discord-applemusic-rich-presence
goos:
- darwin
goarch:
- amd64
- arm64
mod_timestamp: "{{ .CommitTimestamp }}"
ldflags:
- -s -w -X main.version={{ .Version }} -X main.commit={{ .Commit }} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
flags:
- -trimpath
env:
- CGO_ENABLED=1
archives:
- id: default
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
format: tar.gz
files:
- src: license*
- src: LICENSE*
- src: readme*
- src: README*
- src: changelog*
- src: CHANGELOG*
changelog:
filters:
exclude:
- "^test:"
- ^chore
- merge conflict
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
sort: asc
use: github
groups:
- title: Dependency updates
regexp: ^.*feat\(deps\)*:+.*$
order: 300
- title: New Features
regexp: ^.*feat[(\w)]*:+.*$
order: 100
- title: Bug fixes
regexp: ^.*fix[(\w)]*:+.*$
order: 200
- title: Documentation updates
regexp: ^.*docs[(\w)]*:+.*$
order: 400
- title: Other work
order: 9999
before:
hooks:
- cmd: go mod tidy
gomod:
proxy: true
gobinary: go