Skip to content

Commit

Permalink
override_version
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Dec 17, 2024
1 parent 37d8aea commit ea15f11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
python3 -m pip install .
python3 -m build
python3 override_version.py
VERSION=${{ github.event.release.tag_name }}
SDIST_PACKAGE_NAME="schematicpy-${VERSION}.tar.gz"
BDIST_PACKAGE_NAME="schematicpy-${VERSION}-py3-none-any.whl"
Expand Down Expand Up @@ -74,4 +76,4 @@ jobs:
- name: deploy-to-test-pypi
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
repository-url: ${{ github.event.release.prerelease == true && 'https://test.pypi.org/legacy/' || '' }}

0 comments on commit ea15f11

Please sign in to comment.