Skip to content

Commit 2be54be

Browse files
committed
ci: Try out GoReleaser Homebrew Cask
1 parent d144442 commit 2be54be

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
with:
2121
app-id: ${{ secrets.RELEASER_APP_ID }}
2222
private-key: ${{ secrets.RELEASER_APP_PRIVATE_KEY }}
23+
repositories: |
24+
homebrew-tap
25+
restish
2326
2427
- name: Build using goreleaser-cross
2528
run: |

.goreleaser.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,18 @@ archives:
6666
formats:
6767
- zip
6868

69-
# TODO(#306): Return homebrew publication.
69+
homebrew_casks:
70+
- name: restish
71+
homepage: https://rest.sh
72+
description: "Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in."
73+
repository:
74+
owner: rest-sh
75+
name: homebrew-tap
76+
pull_request:
77+
enabled: true
78+
draft: true # TODO(cfunkhouser): Delete after testing.
79+
body: |
80+
cc/ @rest-sh/maintainers
7081
7182
checksum:
7283
name_template: "checksums.txt"

0 commit comments

Comments
 (0)