-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yaml
61 lines (61 loc) · 1.5 KB
/
.goreleaser.yaml
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
version: 2
project_name: bbrew
builds:
- id: bbrew
main: ./cmd/bbrew
goos:
- darwin
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X 'bbrew/internal/services.AppVersion={{ .Version }}'
archives:
- format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
brews:
- name: bbrew
homepage: "https://github.com/Valkyrie00/bold-brew"
description: "A simple TUI tool to make your brews bold."
url_template: "https://github.com/Valkyrie00/bold-brew/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
directory: Formula
test: |
system "#{bin}/bbrew --version"
install: |
bin.install "bbrew"
repository:
owner: Valkyrie00
name: homebrew-bbrew
branch: main
token: "{{ .Env.GITHUB_TOKEN }}"
changelog:
use: github
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- '^chore:'
- Merge pull request
- Merge branch
groups:
- title: '⚠️ Breaking Changes'
regexp: "^.*!:.+$"
order: 0
- title: '✨ Features'
regexp: "^.*feat[(\\w)]*:.*$"
order: 1
- title: '🐛 Bug Fixes'
regexp: "^.*fix[(\\w)]*:.*$"
order: 2
- title: '⚡️ Improvements'
regexp: "^.*perf[(\\w)]*:.*$"
order: 3