muravjev/Get Most Recent Tag Version
Get version and number of additional commits from most recent git tag that is reachable from the last commit
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| match | Pattern (glob) to match the latest tag to extract the version from. | no | * |
| bump | Type of the bump ('major', 'minor', 'patch' or 'none' for no bump). | no | none |
| format | Output version format '{prefix}{major}.{minor}.{patch}-{prerelease}+{metadata}#{commits}@{hash}' | no | {major}.{minor}.{patch}-{prerelease}+{metadata} |
| trim | Format trim fields 'prefix|prerelease|metadata|patch|commits' | no | prerelease|metadata|commits |
Outputs
| name | description |
|---|---|
| version | Formatted version |