Merge pull request #357 from openziti/brew-update

add brew auto update
This commit is contained in:
Michael Quigley 2023-06-27 13:43:46 -04:00 committed by GitHub
commit f4d6368945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,3 +248,18 @@ jobs:
args: release --config .goreleaser-release.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
update-brew:
needs: [publish-release]
runs-on: ubuntu-latest
steps:
- name: Extract Version
id: extract-version
run: |
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
- uses: mislav/bump-homebrew-formula-action@v2
if: "!contains(github.ref, '-')"
with:
formula-name: zrok
env:
COMMITTER_TOKEN: ${{ secrets.BREW_COMMITTER_TOKEN }}