Skip to content

Commit

Permalink
feat(ci): send event to ovrclk/homebrew-tap once release is out
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Nov 16, 2022
1 parent 58965ca commit 676571e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,15 @@ jobs:
GORELEASER_RELEASE: true
GORELEASER_MOUNT_CONFIG: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: is prerelease
if: success()
run: |
echo 'IS_PRERELEASE=$(ROOT_DIR)/script/is_prerelease.sh "$(RELEASE_TAG)"' >> $GITHUB_ENV
- name: notify homebrew with new release
if: success()
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GORELEASER_ACCESS_TOKEN }}
repository: ovrclk/homebrew-tap
event-type: provider-services
client-payload: '{"tag": "${{ env.RELEASE_TAG }}", "is_prerelease": "${{ env.IS_PRERELEASE }}"}'

0 comments on commit 676571e

Please sign in to comment.