read twine password from environemnt variable.

This commit is contained in:
Syoyo Fujita
2023-04-20 18:04:18 +09:00
parent d5438de662
commit f1673e4be3

View File

@@ -7,7 +7,7 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS
path: "wheelhouse/*"
publish_script:
- python -m pip install twine
- python -m twine upload --repository-url https://upload.pypi.org/legacy/ --username __token__ --password ENCRYPTED[7a87c65110c7601f14459f31565caa3871c7d182e2da2a5c238c5b3e2d4dccf5c8ecb4517c407ff16d5089e1a2cffc12] wheelhouse/*.whl
- python -m twine upload --repository-url https://upload.pypi.org/legacy/ --username __token__ wheelhouse/*.whl
linux_aarch64_task:
@@ -19,6 +19,8 @@ linux_aarch64_task:
platform: linux
cpu: 4
memory: 4G
environment:
TWINE_PASSWORD: ENCRYPTED[7a87c65110c7601f14459f31565caa3871c7d182e2da2a5c238c5b3e2d4dccf5c8ecb4517c407ff16d5089e1a2cffc12]
install_pre_requirements_script:
- apt install -y python3-venv python-is-python3