mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 08:03:49 +01:00
move homebrew version bump to run when fully released
This commit is contained in:
parent
309b146fd8
commit
765884ba78
20
.github/workflows/homebrew.yml
vendored
Normal file
20
.github/workflows/homebrew.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Homebrew Bump
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
|
||||
jobs:
|
||||
update-brew:
|
||||
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 }}
|
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@ -252,18 +252,3 @@ 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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user