File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ jobs:
230
230
- name : Verify Wheel Release Artifact
231
231
run : |
232
232
# Verify wheel file exists
233
- export WHEEL_FILENAME="apache_libcloud-${VERSION}-py2. py3-none-any.whl"
233
+ export WHEEL_FILENAME="apache_libcloud-${VERSION}-py3-none-any.whl"
234
234
235
235
ls -la "dist/${WHEEL_FILENAME}"
236
236
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ TMP_DIR=$(mktemp -d)
30
30
# TODO: Use json endpoint + jq to parse out the url
31
31
# https://pypi.org/pypi/apache-libcloud/3.4.0/json
32
32
EXTENSIONS[0]=" .tar.gz"
33
- EXTENSIONS[1]=" -py2. py3-none-any.whl"
33
+ EXTENSIONS[1]=" -py3-none-any.whl"
34
34
35
35
APACHE_MIRROR_URL=" http://www.apache.org/dist/libcloud"
36
36
PYPI_MIRROR_URL_SOURCE=" https://pypi.python.org/packages/source/a/apache-libcloud"
37
- PYPI_MIRROR_URL_WHEEL=" https://files.pythonhosted.org/packages/py2. py3/a/apache-libcloud"
37
+ PYPI_MIRROR_URL_WHEEL=" https://files.pythonhosted.org/packages/py3/a/apache-libcloud"
38
38
39
39
# From http://tldp.org/LDP/abs/html/debugging.html#ASSERT
40
40
function assert () # If condition false,
69
69
extension=${EXTENSIONS[$i]}
70
70
file_name=" ${VERSION}${extension} "
71
71
72
- if [ " ${extension} " = " -py2. py3-none-any.whl" ]; then
72
+ if [ " ${extension} " = " -py3-none-any.whl" ]; then
73
73
# shellcheck disable=SC2001
74
74
file_name=$( echo " ${file_name} " | sed " s/apache-libcloud/apache_libcloud/g" )
75
75
fi
76
76
77
77
apache_url=" ${APACHE_MIRROR_URL} /${file_name} "
78
78
pypi_url=" ${PYPI_MIRROR_URL} /${file_name} "
79
79
80
- if [ " ${extension} " = " -py2. py3-none-any.whl" ]; then
80
+ if [ " ${extension} " = " -py3-none-any.whl" ]; then
81
81
pypi_url=" ${PYPI_MIRROR_URL_WHEEL} /${file_name} "
82
82
else
83
83
pypi_url=" ${PYPI_MIRROR_URL_SOURCE} /${file_name} "
You can’t perform that action at this time.
0 commit comments