obfu5c8/setup-svu
Install & use SVU semver tool
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| type | Bump type. Can be 'none', 'major', 'minor', 'patch', 'auto' | no | auto |
| force-increment | Force at least a patch increment, even if no commits demand it | no | false |
| tag-mode | Change 'last tag' lookup behaviour. Accepted values are 'current-branch' and 'all-branches' | no | current-branch |
| no-metadata | Discards pre-release and build metadata | no | false |
| no-pre-release | Discards pre-release metadata | no | false |
| no-build | Discards build metadata | no | false |
| strip-prefix | Removes any prefix from the version output. For example, `v1.2.3`` would be output as `1.2.3` | no | false |
| prefix | The prefix of the tag. Default is `v` | no | v |
| suffix | Can be used to set a custom suffix for the tag, e.g. build metadata or prelease | no | "" |
| svu-version | Override the default SVU release to install | no | 1.9.0 |
Outputs
| name | description |
|---|---|
| version | The resulting new version |
| version_major | The major component of the new version. If `version` = `v1.2.3`, `version_major` will be `v1` |
| version_majorminor | The major + minor components of the new version If `version` = `v1.2.3`, `version_majorminor` will be `v1.2` |
| bin_path | The path to the svu binary |