dependabot[bot] on maven
chore(deps-dev): bump workflow-… (compare)
philippart-s on main
chore(deps): bump release-draft… (compare)
philippart-s on github_actions
dependabot[bot] on github_actions
chore(deps): bump release-draft… (compare)
philippart-s on github_actions
philippart-s on main
chore(deps): bump actions/setup… (compare)
I was thinking to talk about these points:
Is there anything I should add/remove from this?
0.1.0-alpha
, then it would become 0.2.0-alpha
, right?
@garethjevans & @adi10hero:matrix.org
Before go further I think we'll need to discuss on the strategy to bump version with prerelease information already existing or not.
Here is the use cases and what I have understand with our conversations and what I propose for other cases :
current version | Breaking change commit msg | Feature commit msg | Other or empty commit msg | prerelease option | preservePreRelease | Output |
---|---|---|---|---|---|---|
0.1.0 | X | - | - | - | - | 1.0.0 |
0.1.0 | - | X | - | - | - | 0.2.0 |
0.1.0 | - | - | X | - | - | 0.1.1 |
0.1.0 | X | - | - | alpha | - | 1.0.0-alpha |
0.1.0 | - | X | - | alpha | - | 0.2.0-alpha |
0.1.0 | - | - | X | alpha | - | 0.1.1-alpha |
0.1.0-alpha | X | - | - | - | - | 1.0.0 |
0.1.0-alpha | - | X | - | - | - | 0.1.0 |
0.1.0-alpha | - | - | X | - | - | 0.1.1 |
0.1.0-alpha | X | - | - | - | X | 1.0.0-alpha |
0.1.0-alpha | - | X | - | - | X | 0.2.0-alpha |
0.1.0-alpha | - | - | X | - | X | 0.1.1-alpha |
0.1.0-alpha | X | - | - | beta | - | 1.0.0-beta |
0.1.0-alpha | - | X | - | beta | - | 0.2.0-beta |
0.1.0-alpha | - | - | X | beta | - | 0.1.1-beta |
There is also the possibility to increment the prelease version : 0.1.0-alpha :arrow_right: 0.1.0-alpha.1.
It can be an alternative for the case where there is no commit message and the version is with a prerelease version (line 12 of the table).