Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Commitb1c61d9
committed
Make "git tag" sort our SemVer-ish tags correctly
This sorts numerically for each of major, minor, and patch,rather than, e.g., rating 2.1.15 as a higher version than 2.1.2.It also rates things like X-beta and X-rc as lower versions than X,but X-patched (not SemVer, but present in this project) as higherversions than X.1 parent335d03b commitb1c61d9
1 file changed
+8
-4
lines changedLines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
|
0 commit comments
Comments
(0)