ldelarue/git-next-tag
Make a new git tag name based on git history. This action strictly follows Conventional-Commits / SemVer specifications.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag-prefix | Human readable word before the Semantic Versioning part of resulted tag. - Only "a-Z", "0-9" and "- _" caracters allowed. - Do not begin with "-" or "_". - Do not end with a number. | no | — |
| ref | The branch, tag or SHA as head. Used to define the basehead between two commits for version calculation. - If not specified, this defaults to the SHA of the commit triggering the workflow. | no | — |
| semver-prerelease | Semantic Versioning Prerelease part of resulted tag. <https://semver.org/#spec-item-9> For more details, read <https://semver.org/#backusnaur-form-grammar-for-valid-semver-versions> | no | — |
| semver-build | Semantic Versioning Metadata part of resulted tag. <https://semver.org/#spec-item-10> For more details, read <https://semver.org/#backusnaur-form-grammar-for-valid-semver-versions> | no | — |
| scope | The Conventional-Commit scope to filter commits for version calculation. | no | — |
Outputs
| name | description |
|---|---|
| tag | New tag computed from git history. - Equals to '' if there is no version change. |
| previous-tag | Tag found in git history and used as basehead for version calculation. Useful for release management. - Never equals to ''. |
| semver | Semantic Versioning part of resulted tag. <https://semver.org/#spec-item-2> - Equals to '' if there is no version change. |