Skip to content

Commit 95d8ddd

Browse files
ci: add release workflow with GoReleaser and Homebrew tap
- Builds binaries for darwin/linux/windows on tag push - Automatically updates homebrew-chief tap formula
1 parent 3834a3a commit 95d8ddd

2 files changed

Lines changed: 34 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
runs-on: macos-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Set up Go
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version: '1.23'
24+
25+
- name: Run GoReleaser
26+
uses: goreleaser/goreleaser-action@v6
27+
with:
28+
distribution: goreleaser
29+
version: '~> v2'
30+
args: release --clean
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ brews:
131131
# name: chief
132132
# token: "{{ .Env.GITHUB_TOKEN }}"
133133
folder: Formula
134-
homepage: "https://github.com/minicodemonkey/chief"
134+
homepage: "https://minicodemonkey.github.io/chief/"
135135
description: "Autonomous agent loop for working through PRDs with Claude Code"
136136
license: "MIT"
137137
# Custom install script

0 commit comments

Comments
 (0)