ekwi-tech/Next version
Derive the next release version (X.Y.Z or X.Y.Z-beta.N) from Conventional Commits since the last stable tag, per ekwi's version policy. Emits version, level and base as step outputs.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| prerelease | true to cut a pre-release (X.Y.Z-beta.N); false for a stable X.Y.Z. | yes | — |
| initial-version | The version to emit for the very first release, when the repository has no tag yet. | no | 0.1.0 |
Outputs
| name | description |
|---|---|
| version | The computed version WITHOUT a leading v (e.g. 1.2.0 or 1.2.0-beta.3). |
| level | The strongest bump the commits since the base call for: major, minor or patch. |
| base | The tag the bump was computed from, or ROOT when no stable tag exists yet. |