We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37d8aea commit ea15f11Copy full SHA for ea15f11
.github/workflows/publish.yml
@@ -25,6 +25,8 @@ jobs:
25
python3 -m pip install .
26
python3 -m build
27
28
+ python3 override_version.py
29
+
30
VERSION=${{ github.event.release.tag_name }}
31
SDIST_PACKAGE_NAME="schematicpy-${VERSION}.tar.gz"
32
BDIST_PACKAGE_NAME="schematicpy-${VERSION}-py3-none-any.whl"
@@ -74,4 +76,4 @@ jobs:
74
76
- name: deploy-to-test-pypi
75
77
uses: pypa/gh-action-pypi-publish@release/v1
78
with:
- repository-url: https://test.pypi.org/legacy/
79
+ repository-url: ${{ github.event.release.prerelease == true && 'https://test.pypi.org/legacy/' || '' }}
0 commit comments