Skip to content

Commit

Permalink
ci: setup homebrew releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jakim929 committed Sep 19, 2024
1 parent d0e9bb1 commit e9c0137
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on:
push:
tags:
- "*"
workflow_dispatch:

permissions:
contents: write

jobs:
goreleaser:
if: github.repository == 'ethereum-optimism/supersim'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -27,4 +29,5 @@ jobs:
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_REPO_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_REPO_OPTIBOT_PAT }}
10 changes: 10 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,13 @@ archives:
format: zip
changelog:
disable: true

brews:
- name: supersim
directory: Formula
homepage: "https://github.com/ethereum-optimism/supersim"
description: "Supersim is a local dev environment for the Superchain"
repository:
owner: ethereum-optimism
name: homebrew-tap
token: "{{ .Env.TAP_REPO_GITHUB_TOKEN }}"

0 comments on commit e9c0137

Please sign in to comment.