toDependencyRef
toDependencyRef(
versionPart,versionTagFormat):string
Defined in: packages/simply-cicd-core/src/git.ts:42
The git tag a dependency pinned at versionPart was recorded under. 1.2.3-4 and 1.2.3.4 are
rendered through the project’s version tag format, on the assumption that dependencies share the
project’s tag convention (a deployment’s explicit ref covers one that doesn’t). Anything else,
e.g. 1.2.3-LATEST, keeps the original v<pin> reading.
Parameters
Section titled “Parameters”versionPart
Section titled “versionPart”string
versionTagFormat
Section titled “versionTagFormat”Returns
Section titled “Returns”string