actions-marketplace-validations/Set Calver Version
Calculate Calver version and set PACKAGE_VERSION environment variables.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 16, 2022
- License
- None
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/nelyx_action-calver@d13eb53c375e572e1bb2dcf4aae69d9778c858d5 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| version_prefix | Version string prefix | no | "" |
| default_branch | Name of the default branch | no | refs/heads/main |
| format | Day.js compatible date format string | yes | YY.M.D |
Outputs
| name | description |
|---|---|
| package_version | The version we determined |
| package_suffix | If the action is triggered on a non-default branch its assumed to be a prerelease and the suffix will be the branch name. Otherwise it will be an empty string. |