-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yaml
69 lines (52 loc) · 1.29 KB
/
.goreleaser.yaml
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
project_name: retry
builds:
- id: retry
binary: retry
targets:
- darwin_amd64
- darwin_arm64
- linux_amd64
- linux_arm64
- windows_386
- windows_amd64
flags:
- -buildvcs=false
- -trimpath
ldflags:
- -s -w
- -buildid=
- -X main.version={{ .Tag }}
env:
- CGO_ENABLED=0
archives:
- id: retry
builds: [retry]
name_template: "{{.ProjectName}}-{{.Os}}-{{.Arch}}"
format_overrides:
- goos: windows
format: zip
release:
name_template: "{{.Tag}} Release"
prerelease: auto
checksum:
name_template: "checksums.txt"
changelog:
skip: true
brews:
- name: retry
tap:
owner: joshdk
name: homebrew-tap
token: "{{ .Env.HOMEBREW_GITHUB_TOKEN }}"
url_template: "https://github.com/joshdk/retry/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_msg_template: "feat: brew formula update for {{ .ProjectName }} {{ .Tag }}"
commit_author:
name: Josh Komoroske
email: [email protected]
folder: Formula
caveats: "Run retry --help for usage"
homepage: "https://github.com/joshdk/retry"
description: "Rerun a command until it eventually succeeds, or doesn't"
license: "MIT"
test: |
system "#{bin}/retry -version"