Skip to content

Commit 96265ce

Browse files
committed
ci(homebrewpublish): add tag to homebrew formula action
1 parent 8829441 commit 96265ce

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/homebrewpublish.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,19 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v2
16+
- name: Set up Python
17+
uses: actions/setup-python@v1
18+
with:
19+
python-version: '3.x'
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install -U commitizen
23+
- name: Set Project version env variable
24+
run: |
25+
echo "project_version=$(cz version --project)" >> $GITHUB_ENV
1626
- name: Update Homebrew formula
1727
uses: dawidd6/action-homebrew-bump-formula@v3
1828
with:
1929
token: ${{secrets.PERSONAL_ACCESS_TOKEN}}
2030
formula: commitizen
31+
tag: v${{ env.project_version }}

0 commit comments

Comments
 (0)