Skip to content

Commit d76c4aa

Browse files
authored
update homebrew bumper to be for formulas
1 parent 824945c commit d76c4aa

File tree

2 files changed

+27
-31
lines changed

2 files changed

+27
-31
lines changed

.github/workflows/bump-cask.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
release:
3+
types: [ released ]
4+
workflow_dispatch:
5+
inputs:
6+
tag-name:
7+
description: 'The git tag name to bump the formula to'
8+
required: true
9+
10+
jobs:
11+
homebrew:
12+
name: Bump Homebrew formula
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Extract version
16+
id: extract-version
17+
run: |
18+
echo "tag-name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
19+
- uses: mislav/bump-homebrew-formula-action@v3
20+
with:
21+
formula-name: cf-vault
22+
homebrew-tap: jacobbednarz/homebrew-tap
23+
download-url: https://github.com/jacobbednarz/cf-vault/archive/refs/tags/${{ steps.extract-version.outputs.tag-name }}.tar.gz
24+
commit-message: |
25+
Updates {{formulaName}} to {{version}}
26+
env:
27+
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_UPDATER_PAT }}

0 commit comments

Comments
 (0)