This is an automated email from the ASF dual-hosted git repository.
janardhan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/main by this push:
new 83dfa9c [MINOR] Python `SYSTEMDS_BIN` update for all the version
types (#1432)
83dfa9c is described below
commit 83dfa9c445035cb45302945335ebde6c6ed8371c
Author: Janardhan Pulivarthi <[email protected]>
AuthorDate: Thu Nov 4 21:57:17 2021 +0530
[MINOR] Python `SYSTEMDS_BIN` update for all the version types (#1432)
Also, fixed twin upload command
---
dev/release/pypi-upload.sh | 2 +-
src/main/python/pre_setup.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/release/pypi-upload.sh b/dev/release/pypi-upload.sh
index 2a0b9e8..4fe763d 100755
--- a/dev/release/pypi-upload.sh
+++ b/dev/release/pypi-upload.sh
@@ -86,7 +86,7 @@ python3 -m twine check dist/*
# password: pypi-DU5y...
if [[ $dry_run_flag != 1 ]]; then
- python twine upload dist/*
+ python -m twine upload dist/*
else
python -m twine upload --repository testpypi dist/*
fi
diff --git a/src/main/python/pre_setup.py b/src/main/python/pre_setup.py
index 114260c..c8c0e2e 100755
--- a/src/main/python/pre_setup.py
+++ b/src/main/python/pre_setup.py
@@ -39,7 +39,7 @@ if os.path.exists(TMP_DIR):
shutil.rmtree(TMP_DIR, True)
os.mkdir(TMP_DIR)
-SYSTEMDS_BIN = 'systemds-*-SNAPSHOT-bin.zip'
+SYSTEMDS_BIN = 'systemds-*-bin.zip'
for file in os.listdir(os.path.join(root_dir, 'target')):
if fnmatch.fnmatch(file, SYSTEMDS_BIN):
new_path = os.path.join(TMP_DIR, file)