-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
122 lines (91 loc) · 3.04 KB
/
.goreleaser.yml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
project_name: cidr-encoder
builds:
-
id: cidr-encoder
main: ./cmd/cli/main.go
binary: cidr-encoder
flags:
- -mod=readonly
goos:
- darwin
goarch:
- arm64
archives:
-
id: archive-cli
builds:
- cidr-encoder
name_template: "tokenizer_cli_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
brews:
-
name: "cidr-encoder"
repository:
owner: jmoney
name: homebrew-server-utils
branch: main
token: "{{ .Env.GITHUB_TOKEN }}"
ids:
- archive-cli
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "Brew formula update for cidr-encoder version {{ .Tag }}"
directory: Formula
homepage: "https://jmoney.dev/cidr-encoder"
description: "CLI for time efficiently encoding cidr blocks to find if an IP exists in a range"
# SPDX identifier of your app's license.
# Default is empty.
license: "Apache 2.0"
# Setting this will prevent goreleaser to actually try to commit the updated
# formula - instead, the formula file will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
# If set to auto, the release will not be uploaded to the homebrew tap
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# Default is false.
# skip_upload: true
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/cidr-encoder -h"
# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
bin.install "cidr-encoder"
-
name: "cidr-encoder@{{ .Tag }}"
repository:
owner: jmoney
name: homebrew-server-utils
branch: main
token: "{{ .Env.GITHUB_TOKEN }}"
ids:
- archive-cli
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "Brew formula update for cidr-encoder version {{ .Tag }}"
directory: Formula
homepage: "https://jmoney.dev/cidr-encoder"
description: "CLI for time efficiently encoding cidr blocks to find if an IP exists in a range"
# SPDX identifier of your app's license.
# Default is empty.
license: "Apache 2.0"
# Setting this will prevent goreleaser to actually try to commit the updated
# formula - instead, the formula file will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
# If set to auto, the release will not be uploaded to the homebrew tap
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# Default is false.
# skip_upload: true
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/cidr-encoder -h"
# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
bin.install "cidr-encoder"