actions-marketplace-validations/Semver Extract
Work with Semantic Versions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| version | The current version passed as an input to the action. | no | — |
| package-manager-type | The type of package manager. One of maven, npm. Used to collect the current version from the package manager file associated with that package manager (e.g. npm => package.json, maven = pom.xml, etc.). | no | — |
| bump | The type of version increment (e.g. patch, minor, major, prerelease, etc.). This action is READ-ONLY for the filesystem. | no | — |
Outputs
| name | description |
|---|---|
| snapshot-release | Whether the version is a SNAPSHOT |
| version | The current version. |
| major | The current MAJOR version. |
| minor | The current MINOR version. |
| patch | The current PATCH version. |
| pre-release | The current PRE-RELEASE version. |
| next-version | The version used to next. |
| next-major | The next MAJOR version. |
| next-minor | The next MINOR version. |
| next-patch | The next PATCH version. |
| next-pre-release | The current PRE-RELEASE version. |
| next-snapshot-version | the next SNAPSHOT version to set after the build. |
| next-snapshot-major | The next SNAPSHOT MAJOR version. |
| next-snapshot-minor | The next SNAPSHOT MINOR version. |
| next-snapshot-patch | The next SNAPSHOT PATCH version. |