Skip to content

Commit f684247

Browse files
committed
Fix deprecated config
1 parent 5f048bf commit f684247

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.goreleaser.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ builds:
1111
- darwin
1212
binary: rh
1313
archives:
14-
- replacements:
15-
darwin: Darwin
16-
linux: Linux
17-
windows: Windows
18-
386: i386
19-
amd64: x86_64
14+
- name_template: >-
15+
{{ .ProjectName }}_
16+
{{- title .Os }}_
17+
{{- if eq .Arch "amd64" }}x86_64
18+
{{- else if eq .Arch "386" }}i386
19+
{{- else }}{{ .Arch }}{{ end }}
2020
checksum:
2121
name_template: 'checksums.txt'
2222
snapshot:
@@ -31,7 +31,7 @@ brews:
3131
-
3232
name: rh
3333
goarm: 6
34-
tap:
34+
repository:
3535
owner: aaronvb
3636
name: homebrew-request_hole
3737
url_template: "https://github.com/aaronvb/request_hole/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
@@ -48,4 +48,4 @@ brews:
4848
test: |
4949
system "#{bin}/rh version"
5050
install: |
51-
bin.install "rh"
51+
bin.install "rh"

0 commit comments

Comments
 (0)