chancie86/github-action-version-tag
Gets and, optionally, pushes git version tags
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| versionPrefix | A git tag prefix. Defaults to 'v'. | — | v |
| incrementType | The version value to increment. Possible values are Major, Minor, Patch. | — | Patch |
| isPrerelease | If 'true', appends '-pre' to the patch number and includes an auto incremented build number, e.g. '1.0.1-pre.0'. | — | false |
| push | If 'true', pushes the next version tag to git | — | false |
| preLabel | The pre-release label to use, e.g. 'pre' would result in '1.0.0-pre.0'. | — | pre |
| gitUserName | Git username | — | GitHub |
| gitUserEmail | Git email | — | github@contoso.org |
Outputs
| name | description |
|---|---|
| currentVersion | The current git tag version |
| nextVersion | The next git tag version, e.g. MyPrefx-1.0.0-pre.0 |
| nextSemanticVersion | This is the same as nextVersion without the version prefix, e.g. 1.0.0-pre.0. |