Skip to content

Commit 14b0c3a

Browse files
authored
[Feat] update formula when trigger release action (#26)
1 parent 1ff3c65 commit 14b0c3a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,11 @@ jobs:
9898
Of course, you can install CodeSnap manually by downloading the following binaries.
9999
100100
${{steps.build_changelog.outputs.changelog}}
101+
102+
- name: Update codesnap formula
103+
uses: peter-evans/repository-dispatch@v3
104+
with:
105+
token: ${{ secrets.PAT }}
106+
repository: mistricky/homebrew-tap
107+
event-type: release
108+
client-payload: '{"version": "${{ steps.tag_version.outputs.new_tag }}", "formula_name": "codesnap", "formula_desc": "Pure Rust tool to generate beautiful code snapshots"}'

0 commit comments

Comments
 (0)