Skip to content

Commit

Permalink
update homebrew bumper to be for formulas
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Nov 6, 2023
1 parent 824945c commit d76c4aa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/bump-cask.yaml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/bump-formula.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
release:
types: [ released ]
workflow_dispatch:
inputs:
tag-name:
description: 'The git tag name to bump the formula to'
required: true

jobs:
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
steps:
- name: Extract version
id: extract-version
run: |
echo "tag-name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: cf-vault
homebrew-tap: jacobbednarz/homebrew-tap
download-url: https://github.com/jacobbednarz/cf-vault/archive/refs/tags/${{ steps.extract-version.outputs.tag-name }}.tar.gz
commit-message: |
Updates {{formulaName}} to {{version}}
env:
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_UPDATER_PAT }}

0 comments on commit d76c4aa

Please sign in to comment.