Skip to content

Commit ab4839a

Browse files
committed
feat: add Homebrew tap publishing to release pipeline
1 parent aef5c22 commit ab4839a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ jobs:
3939
args: release --clean
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

.goreleaser.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ changelog:
4343
- "^test:"
4444
- "^chore:"
4545

46+
brews:
47+
- repository:
48+
owner: dotindustries
49+
name: homebrew-tap
50+
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
51+
directory: Formula
52+
homepage: "https://github.com/dotindustries/vx"
53+
description: "Vault-backed secret manager for monorepos"
54+
license: MIT
55+
install: |
56+
bin.install "vx"
57+
4658
dockers:
4759
- image_templates:
4860
- "ghcr.io/dotindustries/vx:{{ .Version }}-amd64"

0 commit comments

Comments
 (0)