nebula-release-plugin
nebula-release-plugin copied to clipboard
Prevent Non-Linear Version Incrementing by Default
Releasing a version that makes an unexpected jump is often unintended. It would be great if the plugin would prevent such changes by default. It's possible someone could want to do a larger jump (e.g. v8.0.0 to v8.5.0), so there should be a way to opt-out.
Successful examples:
| Last Version on Branch | Next Version |
|---|---|
| 0.0.1 | 0.0.2 |
| 0.0.1 | 0.1.0 |
| 0.0.1 | 1.0.0 |
Failed examples:
| Last Version on Branch | Next Version |
|---|---|
| 0.0.1 | 0.0.12 |
| 0.0.1 | 0.22.0 |
| 0.0.1 | 44.0.0 |
Hey @sghill
Is this something we would like to do ? can you share more context?
@rpalcolea it'd be great to get this solved. It would prevent accidentally releasing the wrong version because of a typo.