actions-marketplace-validations/Quill Git Semantic Version
Determines version of a repo based on git history
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| branch | The branch name | yes | master |
| tag_prefix | The prefix to use to identify tags | no | v |
| major_pattern | A string which, if present in a git commit, indicates that a change represents a major (breaking) change | yes | (MAJOR) |
| minor_pattern | A string which, if present in a git commit, indicates that a change represents a minor (feature) change | yes | (MINOR) |
| format | Pattern to use when formatting output version | yes | ${major}.${minor}.${patch} |
| change_path | Path to check for changes. If any changes are detected in the path the 'changed' output will true. Enter multiple paths separated by spaces. | no | — |
| namespace | Use to create a named sub-version. This value will be appended to tags created for this version. | no | — |
Outputs
| name | description |
|---|---|
| major | Current major number |
| minor | Current minor number |
| patch | Current patch number |
| increment | An additional value indicating the number of commits for the current version |
| version | The version result, in the format {major}.{minor}.{patch} |
| version_tag | The version result with trailing zeros removed |
| changed | Indicates whether there was a change since the last version if change_path was specified. If no change_path was specified this value will always be true since the entire repo is considered. |