mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-29 16:55:34 +00:00
Restore Version Sort (#121)
Since we only build the book on Linux for now, restore the `--version-sort` flag for gnu sort. This makes me feel better that when sorting numbering oddities (e.g. multiple digits) will be handled correctly. This was removed when I was trying to get this script to work on Windows and OSX, which is no longer relevant.
This commit is contained in:
parent
d89b384620
commit
c6e4c659c4
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ main() {
|
|||
https://github.com/rust-lang-nursery/mdbook \
|
||||
| cut -d/ -f3 \
|
||||
| grep -E '^v0\.3\.[0-9]+$' \
|
||||
| sort \
|
||||
| sort --version-sort \
|
||||
| tail -n1)
|
||||
|
||||
curl -LSfs https://japaric.github.io/trust/install.sh | \
|
||||
|
|
Loading…
Reference in a new issue