Skip to content

Commit

Permalink
Merge pull request #389 from commitizen-tools/fix/homebrew-ci
Browse files Browse the repository at this point in the history
ci(homebrewpublish): add tag to homebrew formula action
  • Loading branch information
woile authored May 28, 2021
2 parents 8829441 + 96265ce commit 0d44d24
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/homebrewpublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install -U commitizen
- name: Set Project version env variable
run: |
echo "project_version=$(cz version --project)" >> $GITHUB_ENV
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{secrets.PERSONAL_ACCESS_TOKEN}}
formula: commitizen
tag: v${{ env.project_version }}

0 comments on commit 0d44d24

Please sign in to comment.