Skip to content

Commit 4347977

Browse files
publish prerelease to pypi (#194)
1 parent a438db7 commit 4347977

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

.github/workflows/publish-python-client.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,7 @@ jobs:
2929
with:
3030
name: osparc_python_wheels
3131
path: osparc_python_wheels/
32-
- name: Check release
33-
id: release
34-
run: |
35-
source .venv/bin/activate
36-
version=$(cat osparc_python_wheels/VERSION)
37-
is_release=$(python scripts/is_semantic_version.py "${version}" --no-raise-result)
38-
echo "is-release=${is_release}" >> $GITHUB_OUTPUT
39-
rm osparc_python_wheels/VERSION
40-
- name: Publish to TestPyPI
41-
uses: pypa/gh-action-pypi-publish@release/v1
42-
with:
43-
repository-url: https://test.pypi.org/legacy/
44-
verbose: true
45-
packages-dir: osparc_python_wheels/
4632
- name: Publish to PyPI
47-
if: steps.release.outputs.is-release == 'True'
4833
uses: pypa/gh-action-pypi-publish@release/v1
4934
with:
5035
verbose: true

scripts/is_semantic_version.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)