We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 814915c commit 4c8e4d3Copy full SHA for 4c8e4d3
scripts/latest_versions.sh
@@ -7,5 +7,4 @@ else
7
GREP=grep
8
fi
9
10
-VERSIONS=$(curl -sL https://pypi.org/simple/$1/ | $GREP -oh '[[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\.tar\.gz<' | cut -d"." -f 1,2,3 | tail -${2:-10})
11
-echo $VERSIONS
+curl -sL https://pypi.org/simple/$1/ | $GREP -oh '[[:digit:]]*\.[[:digit:]]*\.[[:digit:]].**[\.whl|\.tar\.gz]<' | cut -d"." -f 1,2,3 | cut -d"-" -f 1 | uniq | tail -${2:-10}
0 commit comments