We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa34f42 commit a445787Copy full SHA for a445787
1 file changed
bindings/python/deploy.sh
@@ -21,14 +21,11 @@ build_distribution() {
21
upload_to_pypi() {
22
echo "Uploading to PyPi ..."
23
24
- distribution_filepath="dist/${project_underscore}-${package_version}-py2.py3-none-any.whl"
25
- sdist_filepath="dist/${project_underscore}-${package_version}.tar.gz"
26
-
27
if [[ "$CI" == "true" ]]
28
then
29
- twine upload -u __token__ -p "$PYPI_PASSWORD" --skip-existing --non-interactive "$distribution_filepath" "$sdist_filepath"
+ twine upload -u __token__ -p "$PYPI_PASSWORD" --skip-existing --non-interactive "dist/*"
30
else
31
- twine upload --skip-existing --non-interactive "$distribution_filepath" "$sdist_filepath"
+ twine upload --skip-existing --non-interactive "dist/*"
32
fi
33
}
34
0 commit comments