... | ... | @@ -19,14 +19,14 @@ The format of the version code should follow this pattern: |
|
|
1. A version format is supposed to look like this MAJOR.MINOR.PATCH, e.g. 1.2.3
|
|
|
2. Tokenize the version at the dot
|
|
|
3. Add trailing zeros for every token
|
|
|
4. Concat the tokens in the same order to a string
|
|
|
4. Concat the tokens in the same order to a string and add 3 trailing zeroes
|
|
|
5. Strip leading zeros
|
|
|
|
|
|
**Example**: 1.2.3\
|
|
|
**Result**: 102030
|
|
|
**Result**: 102030000
|
|
|
|
|
|
**Example**: 0.1.0\
|
|
|
**Result**: 1000
|
|
|
**Result**: 1000000
|
|
|
|
|
|
### Version name
|
|
|
|
... | ... | |