timbertson/Autorelease tagger
Create version tags based on git tags and commits
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| numComponents | Number of version components (e.g. semver uses `3`) | no | — |
| releaseTrigger | `auto` (default): every commit is a new release. `commit`: only release when the commit message includes a release instruction | no | — |
| defaultBump | Default bump to apply when there's no specific instruction in commit messages (`major`|`minor`|`patch`). Default: `minor`. | no | — |
| maxBump | deprecated | no | — |
| minBump | Minimum bump to apply (e.g. setting to `minor` enforces this action won't allow a patch release) | no | — |
| versionTemplate | Template for fine-tuning the version generation. This is designed to be passed the base branch name. `refs/heads/` prefix is stripped, if present. Any string which doesn't look like a version template will be ignored. If a version template is given (e.g. `v1.2.x`), that will override `minBump` / `maxBump` / `numComponents`, and additionally ensure the created version starts with `v1.2.` | — | — |
| doTag | Run `git tag` | no | — |
| doPush | Run `git push` on the created tag | no | — |
| exportEnv | Export the version to an environment variable with the given name. | no | — |
Outputs
| name | description |
|---|---|
| tag | The new tag, only set if a tag is required |
| version | The new version, only set if a tag is required |