diff --git a/release.sh b/release.sh index 4d5b4fe7..fe7a840f 100755 --- a/release.sh +++ b/release.sh @@ -4,7 +4,7 @@ set -e set -o pipefail if [ -z "$PYTHON_BIN_PATH" ]; then - PYTHON_BIN_PATH=$(which python3 || which python || true) + PYTHON_BIN_PATH=$(which python || true) fi export PYTHON_BIN_PATH diff --git a/script/release.py b/script/release.py index 9b0f0a83..54a84b0c 100644 --- a/script/release.py +++ b/script/release.py @@ -73,7 +73,7 @@ def tag_and_generate_changelog(new_version_num): def upload_sdist(new_version_num): - push_file = 'dist/Appium-Python-Client-{}.tar.gz'.format(new_version_num) + push_file = 'dist/appium_python_client-{}.tar.gz'.format(new_version_num) try: call_bash_script('twine upload "{}"'.format(push_file)) except Exception as e: