Commit 01182bc
committed
Fix the problem that `update.sh` didn't pick up the latest version of
node.js v12: v12.22.10.
We should use `sort -V` instead of `sort -n` here. The order is a little
bit different:
| Result from `sort -V` | Result from `sort -n` |
| ---- | ---- |
| 0.0 | 0.0 |
| 1.0 | 1.0 |
| 2.0 | 2.0 |
| 3.0 | 3.0 |
| 3.1 | 3.1 |
| 4.0 | 4.0 |
| 5.0 | 5.0 |
| 6.0 | 6.0 |
| 7.0 | 7.0 |
| 8.0 | 8.0 |
| 8.1 | 8.1 |
| 9.0 | 9.0 |
| 9.1 | 9.1 |
| 10.0 | 10.0 |
| 11.0 | 11.0 |
| 11.1 | 11.1 |
| 12.0 | 12.0 |
| 13.0 | 13.0 |
| 13.1 | 13.1 |
| 14.0 | 14.0 |
| 14.1 | 14.1 |
| 15.0 | 15.0 |
| 16.0 | 16.0 |
| 16.1 | 16.1 |
| 16.2 | 16.2 |
| 16.3 | 16.3 |
| 17.0 | 17.0 |
| 18.0 | 18.0 |
| 18.1 | 18.1 |
| 18.2 | 18.2 |
| 18.3 | 18.3 |
| 18.4 | 18.4 |
| 19.0 | 19.0 |
| 19.1 | 19.1 |
| 20.0 | 20.0 |
| 20.1 | 20.1 |
| 20.2 | 20.2 |
| 21.0 | 21.0 |
| 22.0 | 22.0 |
| 22.1 | 22.1 |
| **22.10** | **22.2** |
| 22.2 | 22.3 |
| 22.3 | 22.4 |
| 22.4 | 22.5 |
| 22.5 | 22.6 |
| 22.6 | 22.7 |
| 22.7 | 22.8 |
| 22.8 | 22.9 |
| **22.9** | **22.10** |
1 parent e1f0e90 commit 01182bc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments