Skip to content

Commit

Permalink
auto-bump-homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogarridopt committed Jul 18, 2023
1 parent d64344a commit ef3f3ab
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/bump-homebrew-formula.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
tags: 'v*'

jobs:
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
steps:
- name: Extract version
id: extract-version
run: |
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
- uses: mislav/bump-homebrew-formula-action@v2
if: ${{ !contains(github.ref, '-') }} # skip prereleases
with:
formula-name: awselect
formula-path: awselect.rb
homebrew-tap: mariogarridopt/awsume-fzf
base-branch: master
download-url: https://github.com/mariogarridopt/homebrew-awsume-fzf/archive/refs/tags/${{ steps.extract-version.outputs.tag-name }}.tar.gz
commit-message: |
{{formulaName}} {{version}}
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

0 comments on commit ef3f3ab

Please sign in to comment.