Skip to content

Commit

Permalink
[Feat] update formula when trigger release action (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky authored Nov 28, 2024
1 parent 1ff3c65 commit 14b0c3a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,11 @@ jobs:
Of course, you can install CodeSnap manually by downloading the following binaries.
${{steps.build_changelog.outputs.changelog}}
- name: Update codesnap formula
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.PAT }}
repository: mistricky/homebrew-tap
event-type: release
client-payload: '{"version": "${{ steps.tag_version.outputs.new_tag }}", "formula_name": "codesnap", "formula_desc": "Pure Rust tool to generate beautiful code snapshots"}'

0 comments on commit 14b0c3a

Please sign in to comment.