-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
80 lines (73 loc) · 1.71 KB
/
Copy path.goreleaser.yaml
File metadata and controls
80 lines (73 loc) · 1.71 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
version: 2
project_name: google-readonly
before:
hooks:
- go mod tidy
- go test ./...
builds:
- id: gro
main: ./cmd/gro
binary: gro
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X github.com/open-cli-collective/google-readonly/internal/version.Version={{.Version}}
- -X github.com/open-cli-collective/google-readonly/internal/version.Commit={{.Commit}}
- -X github.com/open-cli-collective/google-readonly/internal/version.Date={{.Date}}
archives:
- formats:
- tar.gz
format_overrides:
- goos: windows
formats:
- zip
# Use binary name with v prefix for archive filenames
name_template: "gro_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE
- README.md
# Linux packages (.deb and .rpm)
nfpms:
- id: google-readonly
package_name: google-readonly
vendor: Open CLI Collective
homepage: https://github.com/open-cli-collective/google-readonly
maintainer: Open CLI Collective <https://github.com/open-cli-collective>
description: Read-only command-line interface for Google services
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
contents:
- src: LICENSE
dst: /usr/share/licenses/google-readonly/LICENSE
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
use: github
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^chore:"
- "Merge pull request"
groups:
- title: Features
regexp: '^feat:'
order: 0
- title: Bug Fixes
regexp: '^fix:'
order: 1
- title: Other
order: 999