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 892c9bc commit 1a2085aCopy full SHA for 1a2085a
bin/list-all
@@ -3,7 +3,7 @@
3
set -eo pipefail
4
5
sort_versions() {
6
- sed 'h; s/[+-]/./g; s/.p\([[:digit:]]\)/.z\1/; s/$/.z/; G; s/\n/ /' |
+ sed 'h; s/[+-]/./g; s/^\([[:digit:]]\.[[:digit:]]\)\([bR]\)/\1.0\2/; s/.p\([[:digit:]]\)/.z\1/; s/$/.z/; s/R/.r/; s/alpha/.alpha/; s/b/.b/; s/dev/.dev/; s/pre/.pre/; G; s/\n/ /' |
7
LC_ALL=C sort -t. -k 1,1 -k 2,2n -k 3,3n -k 4,4n -k 5,5n | awk '{print $2}'
8
}
9
0 commit comments