This action generates version number, like v1, v1.2, v1.2.3...
This action simply calculates the version number and has no semantic function. You can specify the mode(length):
- 1, like v1.
- 2, like v1.2, the value range is 0-9 except for the first part.
- 3, like v1.2.2, the value range is 0-9 except for the first part.
- ...
In theory, you can specify an infinite length.
Create a workflow .yml
file in your repository's .github/workflows
directory.
prefix
- A prefix. Default:v
.mode
- Specify the length by number. Default:1
.repo_path
- The path where the repository is. Default:.
.
version
- A version string.