actions-marketplace-validations/GitHub Bump & Tag
Bump and tag certain commit, with the latest SemVer formatted version
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | Required for permission to tag the repo. | yes | — |
| commit_sha | Which commit id want to tag (default: `GITHUB_SHA`) | no | GITHUB_SHA |
| default_bump | Which type of bump to use when none explicitly provided (default: `patch`). | no | patch |
| tag_prefix | A prefix to the tag name (default: `v`). | no | v |
| append_to_pre_release_tag | A suffix to a pre-release tag name (default: `<branch>`). | no | — |
| custom_tag | Custom tag name. If specified, it overrides bump settings. | no | — |
| release_branches | Comma separated list of branches (bash reg exp accepted) that will generate the release tags. Other branches and pull-requests generate versions postfixed with the commit hash and do not generate any tag. Examples: `master` or `.*` or `release.*,hotfix.*,master`... | no | master |
| pre_release_branches | Comma separated list of branches (bash reg exp accepted) that will generate pre-release tags. | no | — |
| create_annotated_tag | Boolean to create an annotated tag rather than lightweight | no | false |
| dry_run | Do not perform tagging, just calculate next version and changelog, then exit | no | false |
Outputs
| name | description |
|---|---|
| new_tag | Generated tag |
| new_version | Generated tag without the prefix |
| previous_tag | Previous tag (or `0.0.0`) |
| changelog | The conventional changelog since the previous tag |