-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
59 lines (53 loc) · 1.17 KB
/
Copy path.goreleaser.yaml
File metadata and controls
59 lines (53 loc) · 1.17 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
# https://goreleaser.com
version: 2
project_name: billy
before:
hooks:
- go mod tidy
builds:
- id: billy
env:
- CGO_ENABLED=0
main: ./cmd/billy
binary: billy
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s
- -w
- -X=main.version={{.Version}}
- -X=main.commit={{.Commit}}
- -X=main.date={{.Date}}
archives:
- id: default
formats: [tar.gz]
format_overrides:
- goos: windows
formats: [zip]
files:
- README.md
- LICENSE
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
brews:
- name: billy
repository:
owner: moogacs
name: homebrew-billy
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
directory: Formula
commit_author:
name: goreleaserbot
email: goreleaser@github.com
homepage: https://github.com/moogacs/billy
description: "Privacy-first CLI: read Claude Code, Codex, and Cursor logs on disk; apply YAML rates; print estimated USD."
license: Apache-2.0
install: |
bin.install "billy"
test: |
system "#{bin}/billy", "--version"