mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
Trigger twine upload only for tagged commit.
This commit is contained in:
@@ -5,6 +5,9 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS
|
|||||||
- cibuildwheel
|
- cibuildwheel
|
||||||
wheels_artifacts:
|
wheels_artifacts:
|
||||||
path: "wheelhouse/*"
|
path: "wheelhouse/*"
|
||||||
|
|
||||||
|
# Upload only for tagged commit
|
||||||
|
only_if: $CIRRUS_TAG != ''
|
||||||
publish_script:
|
publish_script:
|
||||||
- python -m pip install twine
|
- python -m pip install twine
|
||||||
- python -m twine upload --repository-url https://upload.pypi.org/legacy/ --username __token__ wheelhouse/*.whl
|
- python -m twine upload --repository-url https://upload.pypi.org/legacy/ --username __token__ wheelhouse/*.whl
|
||||||
|
|||||||
Reference in New Issue
Block a user