hmcts/Generate Artefact Version
Generates a draft artefact version using latest Git tag and short commit SHA
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| release | Set to "true" to use the Git tag only (no short SHA). Default is "false". | no | false |
| tag-match | Glob pattern passed to `git describe --match` when resolving the latest tag in draft mode. Default `v*` matches the canonical HMCTS tag format (`vX.Y.Z`) and ignores non-semver tags such as deploy markers. Override with `*` to match any tag, or any other glob your repo needs. | no | v* |
Outputs
| name | description |
|---|---|
| draft_version | The generated draft version (e.g., 0.1.4-a1b2c3d) |
| release_version | The latest git tag without the "v" prefix (e.g., 0.1.4) |