Skip to content

Commit d4e5c32

Browse files
authored
feat(release): Add Homebrew tap update trigger (#402)
feat(release): Add Homebrew tap update trigger
1 parent 5349afb commit d4e5c32

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,4 +410,13 @@ jobs:
410410
upload_url: ${{ steps.create_release.outputs.upload_url }}
411411
asset_path: ./pathfinder-darwin-amd64.sha256sum.txt
412412
asset_name: pathfinder-darwin-amd64.sha256sum.txt
413-
asset_content_type: text/plain
413+
asset_content_type: text/plain
414+
415+
# Trigger Homebrew tap formula update
416+
- name: Trigger Homebrew tap update
417+
uses: peter-evans/repository-dispatch@v3
418+
with:
419+
token: ${{ secrets.TAP_GITHUB_TOKEN }}
420+
repository: shivasurya/homebrew-tap
421+
event-type: new-release
422+
client-payload: '{"version": "${{ github.ref_name }}"}'

0 commit comments

Comments
 (0)