kinneko-de/Compute semantic version
Compute a semantic version with an optional branch/run-based suffix. Exposes outputs for workflows.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| major | MAJOR version number | yes | — |
| minor | MINOR version number | yes | — |
| patch | PATCH version number | yes | — |
Outputs
| name | description |
|---|---|
| semantic_version | Full semantic version including any suffix/extension |
| version_suffix | The computed suffix (branch.runNumber) when used |
| extension | The extension to append to the base version (-suffix) |
| use_version_suffix | True when a suffix/extension should be used |
| next_default_branch_version | The next semantic version for the default branch (MAJOR.MINOR.PATCH) |