Skip to content

Commit

Permalink
chore(ci): auto-bump the homebrew formula
Browse files Browse the repository at this point in the history
closes #203
  • Loading branch information
orhun committed Mar 2, 2024
1 parent 18f4923 commit 61d055b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -467,3 +467,17 @@ jobs:
run: |
cargo publish --allow-dirty --manifest-path git-cliff/Cargo.toml \
--locked --token ${{ secrets.CARGO_TOKEN }}
publish-homebrew:
name: Publish Homebrew formula
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- name: Bump formula
if: ${{ !contains(env.RELEASE_VERSION, 'alpha') && !contains(env.RELEASE_VERSION, 'beta') && !contains(env.RELEASE_VERSION, 'rc') }}
uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: git-cliff
env:
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_COMMITTER_TOKEN }}

0 comments on commit 61d055b

Please sign in to comment.