-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
95 lines (88 loc) · 2.15 KB
/
.goreleaser.yaml
File metadata and controls
95 lines (88 loc) · 2.15 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: 2
project_name: bbrew
builds:
- id: bbrew
main: ./cmd/bbrew
binary: bbrew
goos:
- darwin
- linux
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 }}"
checksum:
name_template: "checksums.txt"
algorithm: sha256
release:
github:
owner: Valkyrie00
name: bold-brew
draft: false
prerelease: auto
header: |
## Bold Brew {{ .Version }}
Install or upgrade:
```bash
brew upgrade bbrew
# or
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Valkyrie00/bold-brew/main/install.sh)"
```
brews:
- name: bbrew
homepage: "https://bold-brew.com"
description: "Modern TUI for managing Homebrew packages and casks on macOS and Linux"
license: "MIT"
url_template: "https://github.com/Valkyrie00/bold-brew/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
directory: Formula
test: |
assert_match "Usage", shell_output("#{bin}/bbrew -h")
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:"
- "^style:"
- "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: "♻️ Refactoring"
regexp: "^.*refactor[(\\w)]*:.*$"
order: 3
- title: "⚡️ Performance"
regexp: "^.*perf[(\\w)]*:.*$"
order: 4
- title: "🔒 Security"
regexp: "^.*security[(\\w)]*:.*$"
order: 5