actions-marketplace-validations/Derive Version
Given the VERSION file, compute a version number for a commit
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 4, 2021
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/avakar_derive-version@223bcf2e5a991864898c1dc1d1b6ce7528d5be6f # no releases — HEAD as of 2026-07-15tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| file | The name of the file containing major.minor, defaults to "VERSION" | — | VERSION |
| commit | The commit for which to compute the version | — | HEAD |
| deepen-by | If the repo is too shallow, deepen it by this number of commits | — | 100 |
Outputs
| name | description |
|---|---|
| patch | The patch to be appended to major.minor |
| version | The full computed major.minor.patch |
| prefix | The prefix major.minor without the patch |