implement INC0 and INC1 parts

This commit is contained in:
Manuel Barkhau 2020-10-04 11:28:53 +00:00
parent f92c7347ae
commit d23689634c
7 changed files with 62 additions and 24 deletions

View file

@ -229,14 +229,16 @@ These patterns are closely based on https://calver.org/
| `0D` | 01, 02, 03..31 | `%d` |
| `JJJ` | 1,2,3..366 | `int(%j)` |
| `00J` | 001, 002..366 | `%j` |
| `BUILD` | 0011, 1001, 1002, .. | build number (lexid) |
| `BLD` | 11, 1001, 1002, .. | zero truncated `BUILD` |
| `MAJOR` | 0..9, 10..99, 100.. | `--major` |
| `MINOR` | 0..9, 10..99, 100.. | `-m/--minor` |
| `PATCH` | 0..9, 10..99, 100.. | `-p/--patch` |
| `NUM` | 0, 1, 2... | `-r/--release-num` |
| `INC0` | 0, 1, 2... | |
| `INC1` | 1, 2... | |
| `BUILD` | 0011, 1001, 1002, .. | build number (lexid) |
| `BLD` | 11, 1001, 1002, .. | zero truncated `BUILD` |
| `RELEASE` | alpha, beta, rc | `--release=<tag>` |
| `PYTAG` | a, b, rc | `--release=<tag>` |
| `NUM` | 0, 1, 2... | `-r/--release-num` |
### Week Numbering