Skip to content

Commit dcf961f

Browse files
updating to homebrew_casks, updating version numbers
1 parent 0dd9c4e commit dcf961f

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.goreleaser.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ builds:
1414
- windows
1515
- darwin
1616
ldflags:
17-
- -s -w -X main.version=v1.3.2
17+
- -s -w -X main.version=v1.3.3
1818

1919
archives:
20-
- format: tar.gz
20+
- formats: [ 'zip' ]
2121
name_template: >-
2222
{{ .ProjectName }}_
2323
{{- title .Os }}_
@@ -28,7 +28,7 @@ archives:
2828
# use zip for windows archives
2929
format_overrides:
3030
- goos: windows
31-
format: zip
31+
- formats: [ 'zip' ]
3232

3333
changelog:
3434
sort: asc
@@ -37,11 +37,20 @@ changelog:
3737
- "^docs:"
3838
- "^test:"
3939

40-
brews:
41-
- repository:
40+
homebrew_casks:
41+
- name: poke-cli
42+
conflicts:
43+
- formula: poke-cli
44+
repository:
4245
owner: digitalghost-dev
4346
name: homebrew-poke-cli
4447
token: "{{.Env.GITHUB_TOKEN}}"
4548
homepage: "https://github.com/digitalghost-dev/poke-cli"
46-
description: "A CLI tool written in Go that allows you to view data about Pokémon from the terminal."
49+
description: "A hybrid CLI/TUI tool written in Go for viewing Pokémon data from the terminal!"
4750
license: "Apache License 2.0"
51+
hooks:
52+
post:
53+
install: |
54+
if system_command("/usr/bin/xattr", args: ["-h"]).exit_status == 0
55+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/poke-cli"]
56+
end

0 commit comments

Comments
 (0)