bencatlab/gha-svu
Calculate semantic versions using SVU v3+ (https://github.com/caarlos0/svu)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| always | Only applied when command=next. If no commits trigger a version change, increment the patch (true/false) | no | false |
| command | SVU subcommand to run: current, next, major, minor, patch, prerelease | no | next |
| initial-version | Only applied when command=next. Initial version to use when no tags are present (v0) | no | "" |
| log-directory | Only use commits that changed files in the given directories | no | "" |
| metadata | Metadata to append to the version (e.g. "+build.42") | no | "" |
| prerelease | Prerelease identifier (e.g. "alpha", "beta") | no | "" |
| push-tag | Push the new tag to the remote (true/false) | no | false |
| svu-version | SVU version to install (e.g. "v3.2.3"). Leave blank to install latest | no | "" |
| tag-mode | Which tags to consider: all, light, heavy | no | all |
| tag-pattern | Regex to ignore tags that do not match the given pattern | no | "" |
| tag-prefix | Tag prefix (e.g. "v") | no | v |
| verbose | Enable verbose SVU output (true/false) | no | false |
Outputs
| name | description |
|---|---|
| changed | Whether the version has changed (true/false) |
| current | Current semantic version based on existing tags |
| next | Next semantic version calculated by SVU |