Skip to content

Commit 67558c3

Browse files
committed
Don't create dev version on manual trigger
1 parent 50e4e46 commit 67558c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uv version --short --project generated/python/datadoc_model
5656
5757
- name: Set version for developmental release
58-
if: (!steps.check-version.outputs.tag)
58+
if: (!steps.check-version.outputs.tag) && (github.event_name != 'workflow_dispatch')
5959
run: |
6060
uv version "$(uv version --bump patch >> /dev/null 2>&1 && uv version --short).dev.$(date +%s)"
6161
@@ -64,7 +64,7 @@ jobs:
6464
uv build
6565
6666
- name: Publish package on PyPI
67-
if: ${{(steps.check-version.outputs.tag) || (github.event_name == 'workflow_dispatch')}}
67+
if: (steps.check-version.outputs.tag) || (github.event_name == 'workflow_dispatch')
6868
uses: pypa/gh-action-pypi-publish@v1.12.4
6969
with:
7070
packages-dir: generated/python/datadoc_model/dist

0 commit comments

Comments
 (0)