mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-27 02:52:58 +00:00
Add the release candidate to versioning.
This commit is contained in:
@@ -114,23 +114,27 @@ Linux/arm64, Linux/amd64
|
||||
|
||||
#### Calculations example [standard]
|
||||
|
||||
* 0.0.1 - PATCH - starting commit
|
||||
* 0.0.2 - PATCH - another commit
|
||||
* 0.0.4 - PATCH - another commit with word 'Update' => DOUBLE increment PATCH
|
||||
* 0.1.0 - MINOR - after commit with word 'Change' => increment MINOR, reset PATCH
|
||||
* 0.1.1 - PATCH - additional commit
|
||||
* 1.0.1 - MAJOR - commit with word 'BREAKING' = > INCREMENT MAJOR, reset MINOR
|
||||
* 1.0.2 - PATCH - another commit
|
||||
```bash
|
||||
- 0.0.1 - PATCH - starting commit
|
||||
- 0.0.2 - PATCH - another commit
|
||||
- 0.0.4 - PATCH - another commit with word 'Update' => DOUBLE increment PATCH
|
||||
- 0.1.0 - MINOR - after commit with word 'Change' => increment MINOR, reset PATCH
|
||||
- 0.1.1 - PATCH - additional commit
|
||||
- 1.0.1 - MAJOR - commit with word 'BREAKING' = > INCREMENT MAJOR, reset MINOR
|
||||
- 1.0.2 - PATCH - another commit
|
||||
```
|
||||
|
||||
#### Calculations example [strict matching]
|
||||
|
||||
* 0.0.1 - PATCH - starting commit
|
||||
* 0.0.1 - PATCH - another commit
|
||||
* 0.0.1 - PATCH - another commit with word 'Update' => SINGLE increment PATCH
|
||||
* 0.1.0 - MINOR - after commit with word 'Change' => increment MINOR, reset PATCH
|
||||
* 0.1.0 - PATCH - additional commit
|
||||
* 1.0.0 - MAJOR - commit with word 'BREAKING' = > INCREMENT MAJOR, reset MINOR
|
||||
* 1.0.0 - PATCH - another commit
|
||||
```bash
|
||||
- 0.0.1 - PATCH - starting commit
|
||||
- 0.0.1 - PATCH - another commit
|
||||
- 0.0.1 - PATCH - another commit with word 'Update' => SINGLE increment PATCH
|
||||
- 0.1.0 - MINOR - after commit with word 'Change' => increment MINOR, reset PATCH
|
||||
- 0.1.0 - PATCH - additional commit
|
||||
- 1.0.0 - MAJOR - commit with word 'BREAKING' = > INCREMENT MAJOR, reset MINOR
|
||||
- 1.0.0 - PATCH - another commit
|
||||
```
|
||||
|
||||
#### Example configuration
|
||||
|
||||
@@ -146,12 +150,14 @@ wording:
|
||||
- update
|
||||
- initial
|
||||
minor:
|
||||
- add
|
||||
- change
|
||||
- improve
|
||||
major:
|
||||
- breaking
|
||||
- the # For testing purposes
|
||||
release:
|
||||
- release-candidate
|
||||
- add-rc
|
||||
```
|
||||
|
||||
* `version`: is not respected at the moment, introduced for potential backwards compatibility in future
|
||||
|
||||
Reference in New Issue
Block a user