Adding upstream version 4.6.0+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f3ad83a1a5
commit
167a3f8553
275 changed files with 30423 additions and 0 deletions
32
.github/workflows/homebrewpublish.yml
vendored
Normal file
32
.github/workflows/homebrewpublish.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: Publish to Homebrew
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Upload Python Package"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: macos-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
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@v4
|
||||
with:
|
||||
token: ${{secrets.PERSONAL_ACCESS_TOKEN}}
|
||||
formula: commitizen
|
||||
tag: v${{ env.project_version }}
|
||||
force: true
|
Loading…
Add table
Add a link
Reference in a new issue