Skip to content

renderRepositoryUrl

renderRepositoryUrl(template, values): string

Defined in: packages/simply-cicd-core/src/build/aerPackage.ts:109

Fill in a repository URL template.

Every value is URL-encoded, so @ in the file name becomes %40 and / in a branch can’t add a path segment. Anything in braces that isn’t a known placeholder fails, which also catches a CI variable such as ${CI_API_V4_URL} that the shell didn’t expand.

string

RepositoryUrlValues

string

If the template uses an unknown placeholder, or uses neither {version} nor {versionNumber} — every version would then be uploaded to the same URL.