2.0.0 • Published 2 years ago
@pr-mpt/actions-semver-aliases v2.0.0
SemVer Aliases
A GitHub Action for generating the major and minor aliases of a
Semantic Version: generate v3 and v3.14 from v3.14.1.
pr-mpt/actions-semver-aliases@v2Inputs
| ID | Description | Default | Examples |
|---|---|---|---|
version | Semantic Version number | required | v1.2.3 1.2.3 |
prefix | String prefixed before each alias | v | v app- |
major | Generate major version alias | true | |
minor | Generate minor version alias | true | |
patch | Generate patch version alias | false |
Outputs
| ID | Description | Example |
|---|---|---|
list | Newline separated string of aliases | v1v1.2 |
csv | Comma-separated string of aliases | v1,v1.2 |