Skip to content

Commit

Permalink
Merge pull request #151 from ethereum-optimism/09-18-ci_setup_homebre…
Browse files Browse the repository at this point in the history
…w_releases

ci: setup homebrew releases
  • Loading branch information
jakim929 authored Sep 19, 2024
2 parents d0e9bb1 + e9c0137 commit b814161
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 b814161

Please sign in to comment.