Skip to content

Commit

Permalink
feat(github): action to bump formula with each release
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Dec 6, 2023
1 parent 4343fb5 commit 8283f94
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Bump Homebrew Formula on Release Publication

on:
release:
types: [published]
jobs:
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
steps:
- uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: hometown-prompt
formula-path: hometown-prompt.rb
homebrew-tap: olets/homebrew-tap
download-url: https://github.com/olets/hometown-prompt.git
commit-message: |
feat({{formulaName}}): publish {{version}}
Created by https://github.com/mislav/bump-homebrew-formula-action
via the https://github.com/olets/hometown-prompt
"bump-homebrew-formula-on-release-publication" workflow
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

0 comments on commit 8283f94

Please sign in to comment.