File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ jobs:
230230 - name : Verify Wheel Release Artifact
231231 run : |
232232 # 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"
234234
235235 ls -la "dist/${WHEEL_FILENAME}"
236236
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ TMP_DIR=$(mktemp -d)
3030# TODO: Use json endpoint + jq to parse out the url
3131# https://pypi.org/pypi/apache-libcloud/3.4.0/json
3232EXTENSIONS[0]=" .tar.gz"
33- EXTENSIONS[1]=" -py2. py3-none-any.whl"
33+ EXTENSIONS[1]=" -py3-none-any.whl"
3434
3535APACHE_MIRROR_URL=" http://www.apache.org/dist/libcloud"
3636PYPI_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"
3838
3939# From http://tldp.org/LDP/abs/html/debugging.html#ASSERT
4040function assert () # If condition false,
6969 extension=${EXTENSIONS[$i]}
7070 file_name=" ${VERSION}${extension} "
7171
72- if [ " ${extension} " = " -py2. py3-none-any.whl" ]; then
72+ if [ " ${extension} " = " -py3-none-any.whl" ]; then
7373 # shellcheck disable=SC2001
7474 file_name=$( echo " ${file_name} " | sed " s/apache-libcloud/apache_libcloud/g" )
7575 fi
7676
7777 apache_url=" ${APACHE_MIRROR_URL} /${file_name} "
7878 pypi_url=" ${PYPI_MIRROR_URL} /${file_name} "
7979
80- if [ " ${extension} " = " -py2. py3-none-any.whl" ]; then
80+ if [ " ${extension} " = " -py3-none-any.whl" ]; then
8181 pypi_url=" ${PYPI_MIRROR_URL_WHEEL} /${file_name} "
8282 else
8383 pypi_url=" ${PYPI_MIRROR_URL_SOURCE} /${file_name} "
You can’t perform that action at this time.
0 commit comments