-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
88 lines (80 loc) · 1.86 KB
/
Copy path.goreleaser.yaml
File metadata and controls
88 lines (80 loc) · 1.86 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
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
before:
hooks:
- go mod tidy
# Bundle the unpacked Chrome extension so Homebrew/install.sh users
# (who never clone the repo) can download it from the release.
- sh -c 'rm -f tabb-extension.zip && zip -qr tabb-extension.zip extension'
builds:
- id: tabb
main: ./cmd/tabb
binary: tabb
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X main.Version={{.Version}}
archives:
- id: tabb
formats:
- tar.gz
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
files:
- README.md
- LICENSE*
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- Merge pull request
- Merge branch
homebrew_casks:
- name: tabb
ids:
- tabb
binaries:
- tabb
homepage: "https://github.com/joelhelbling/tabb"
description: "Manage Chrome browser tabs from the terminal or an AI assistant"
repository:
owner: joelhelbling
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
commit_msg_template: "Brew cask update for {{ .ProjectName }} version {{ .Tag }}"
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/tabb"]
end
release:
github:
owner: joelhelbling
name: tabb
draft: false
prerelease: auto
name_template: "{{.Tag}}"
extra_files:
- glob: ./tabb-extension.zip