castlabs/Ref to Version

Uses the ref to extract a version

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionFileSpecify a path to a json file that has a top level 'version' property, i.e. package.json. The value of that version will be used as a prefix for the output, using '-' as a separator no
useVersionFileConfigure if and when a version file should be considered. This takes a comma separated list. The permitted values are 'branch', 'pr', 'tag'. nobranch,pr
createRunVersionConfigure if and when a unique run version should be created using github.run_number and github.run_attempt. The permitted values are 'branch', 'pr', 'tag'. nobranch,pr
versionFileSeparatorSeparator used when concatenating the ref and version file versionsno-
from-tagPass a tag name and set the output version using the same logic as if it would have been a ref tag. no
tagPrefixA prefix that will be removed from the beginning of the tag name to compute the version name. nov
namedescription
versionThe version extracted from the github ref
isTagBoolean that indicates that a tag version was created
isPullRequestBoolean that indicates that a Pull Request version was created
isBranchBoolean that indicates that a branch version was created