Skip to content

Commit a445787

Browse files
fix(no-ticket): sdist upload
1 parent fa34f42 commit a445787

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

bindings/python/deploy.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@ build_distribution() {
2121
upload_to_pypi() {
2222
echo "Uploading to PyPi ..."
2323

24-
distribution_filepath="dist/${project_underscore}-${package_version}-py2.py3-none-any.whl"
25-
sdist_filepath="dist/${project_underscore}-${package_version}.tar.gz"
26-
2724
if [[ "$CI" == "true" ]]
2825
then
29-
twine upload -u __token__ -p "$PYPI_PASSWORD" --skip-existing --non-interactive "$distribution_filepath" "$sdist_filepath"
26+
twine upload -u __token__ -p "$PYPI_PASSWORD" --skip-existing --non-interactive "dist/*"
3027
else
31-
twine upload --skip-existing --non-interactive "$distribution_filepath" "$sdist_filepath"
28+
twine upload --skip-existing --non-interactive "dist/*"
3229
fi
3330
}
3431

0 commit comments

Comments
 (0)