-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trigger release on backport branches too (#45)
- Loading branch information
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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/[email protected] | ||
# 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/[email protected] | ||
# with: | ||
# packages-dir: generated/python/datadoc_model/dist | ||
# repository-url: https://test.pypi.org/legacy/ | ||
|
||
- name: Publish the release notes | ||
uses: release-drafter/[email protected] | ||
|