actions-marketplace-validations/Repo SemVer
Find the greatest semantic version Git tag and return it, along with ("major", "minor", "patch", etc.) increments.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to the repository | — | ${{ github.workspace }} |
| repo | Name of repository to check out | no | — |
| bump | Requested version increment in bump output | no | — |
| override | Manually specified current version | no | — |
| planned | Version to compare against current | no | — |
| prerelease | String to be used in the next-prerelease output | no | — |
| build | String to be used in next-build output | no | — |
Outputs
| name | description |
|---|---|
| tag | Tag corresponding to current version |
| current | Current version |
| bump | Requested version bump |
| prefix | Prefix used in the tag |
| next-prerelease | Prerelease increment (over current semver tag) |
| next-patch | Patch increment (over current semver tag) |
| next-minor | Minor increment (over current semver tag) |
| next-major | Major increment (over current semver tag) |
| next-release | Release increment (over current semver tag) |
| next-build | Release increment (over current semver tag) |
| planned-is-valid | True if planned input is valid semver greater than current |