mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 14:35:44 +00:00
Update README
This commit is contained in:
29
README.md
29
README.md
@@ -132,22 +132,25 @@ Examples:
|
|||||||
| increment | The digit to increment, either `major`, `minor` or `patch`, ignored if `scheme` == `calver` | No | `patch` |
|
| increment | The digit to increment, either `major`, `minor` or `patch`, ignored if `scheme` == `calver` | No | `patch` |
|
||||||
| release_branch | Specify a non-default branch to use for the release tag (the one without -pre) | No | |
|
| release_branch | Specify a non-default branch to use for the release tag (the one without -pre) | No | |
|
||||||
| use_api | Use the GitHub API to discover current tags, which avoids the need for a git checkout, but requires `curl` and `jq` | No | `false` |
|
| use_api | Use the GitHub API to discover current tags, which avoids the need for a git checkout, but requires `curl` and `jq` | No | `false` |
|
||||||
|
| tag_prefix | Prefix the tag with a string (defaults to empty string). e.g. if set to `@org/product/` the action will filter by this prefix and return `@org/product/1.2.3` in `prefixed-version` output | No | |
|
||||||
|
|
||||||
### Outputs 📤
|
### Outputs 📤
|
||||||
|
|
||||||
| name | description |
|
| name | description |
|
||||||
| :--- | :--- |
|
| :--- | :--- |
|
||||||
| current-version | The current latest version detected from the git repositories tags |
|
| current-version | The current latest version detected from the git repositories tags |
|
||||||
| current-v-version | The current latest version detected from the git repositories tags, prefixed with a `v` character |
|
| current-v-version | The current latest version detected from the git repositories tags, prefixed with a `v` character |
|
||||||
| version | The incremented version number (e.g. the next version) |
|
| version | The incremented version number (e.g. the next version) |
|
||||||
| v-version | The incremented version number (e.g. the next version), prefixed with a `v` character |
|
| v-version | The incremented version number (e.g. the next version), prefixed with a `v` character |
|
||||||
| major-version | Major number of the incremented version |
|
| major-version | Major number of the incremented version |
|
||||||
| minor-version | Minor number of the incremented version |
|
| minor-version | Minor number of the incremented version |
|
||||||
| patch-version | Patch number of the incremented version |
|
| patch-version | Patch number of the incremented version |
|
||||||
| pre-release-label | Pre-release label of the incremented version |
|
| pre-release-label | Pre-release label of the incremented version |
|
||||||
| major-v-version | Major number of the incremented version, prefixed with a `v` character |
|
| major-v-version | Major number of the incremented version, prefixed with a `v` character |
|
||||||
| minor-v-version | Minor number of the incremented version, prefixed with a `v` character |
|
| minor-v-version | Minor number of the incremented version, prefixed with a `v` character |
|
||||||
| patch-v-version | Patch number of the incremented version, prefixed with a `v` character |
|
| patch-v-version | Patch number of the incremented version, prefixed with a `v` character |
|
||||||
|
| prefixed-version | Incremented version calculated, including a `tag_prefix` if specified |
|
||||||
|
| prefixed-v-version | Incremented version calculated, prefixed with a `v` charatcter, and also including a `tag_prefix` if specified |
|
||||||
|
|
||||||
## Contributing 💕
|
## Contributing 💕
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ inputs:
|
|||||||
default: false
|
default: false
|
||||||
tag_prefix:
|
tag_prefix:
|
||||||
description: |
|
description: |
|
||||||
Field to prefix the tag with a string (defaults to empty string). This is useful for projects that use a prefix in their tags. E.g. if set to `@org/product` the action will return `@org/product/1.2.3` as version.
|
Prefix the tag with a string (defaults to empty string). e.g. if set to `@org/product/` the action will filter by this prefix and return `@org/product/1.2.3` in `prefixed-version` output
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user