yuzhang326/action-get-minverversion
A composite build action which uses the minver-cli tool to calculate the version
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
no inputs
Outputs
| name | description |
|---|---|
| version | The full version returned by minver, e.g. 1.2.3 for a release version or 1.2.3-hotfix.1 for a hotfix |
| major | The major component of the version, e.g. for a version of 1.2.3-hotfix.4.5 will return 1 |
| minor | The minor component of the version, e.g. for a version of 1.2.3-hotfix.4.5 will return 2 |
| patch | The patch component of the version, e.g. for a version of 1.2.3-hotfix.4.5 will return 3 |
| revision | The revision component of the version, e.g. for a version of 1.2.3-hotfix.4.5 will return 5 |
| hotfix | The hotfix component of the version, e.g. for a version of 1.2.3-hotfix.4.5 will return 4 |
| suffix | The suffix, one of '', 'alpha' or 'hotfix' |
| isrelease | true if it is a full release. Implied if suffix is empty |
| isalpha | true if it is an alpha release. Implied if suffix is 'alpha' |
| ishotfix | true if it is a hotfix release. Implied if suffix is 'hotfix' |
| assemblyVersion | the 4 digit assembly version which should be applied to assemblies |