Skip to content

Commit

Permalink
Trigger release on backport branches too (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmwinther authored Mar 6, 2024
1 parent 23f6cb1 commit 5a9cc10
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on:
branches:
- main
- master
- backport/*
paths:
- "generated/python/**"
- ".github/workflows/release-python.yml"
- "generated/python/**"
- ".github/workflows/release-python.yml"

jobs:
release:
Expand Down Expand Up @@ -75,12 +76,12 @@ jobs:
packages-dir: generated/python/datadoc_model/dist
password: ${{ secrets.PYPI_TOKEN }}

# - name: Publish package on TestPyPI
# if: "! steps.check-version.outputs.tag"
# uses: pypa/gh-action-pypi-publish@v1.8.10
# with:
# packages-dir: generated/python/datadoc_model/dist
# repository-url: https://test.pypi.org/legacy/
# - name: Publish package on TestPyPI
# if: "! steps.check-version.outputs.tag"
# uses: pypa/gh-action-pypi-publish@v1.8.10
# with:
# packages-dir: generated/python/datadoc_model/dist
# repository-url: https://test.pypi.org/legacy/

- name: Publish the release notes
uses: release-drafter/release-drafter@v5.25.0
Expand Down

0 comments on commit 5a9cc10

Please sign in to comment.