Dashboard › publish › Distillation
c35b080d-063f-4bdb-8ef6-f9e8a16777c2["lore_tm_v1_e9WcHJ8Gzx2X76fDnp38dGMbizwxKhH6fjNAd0SemDs","lore_tm_v1_-GPth9ECmsCpYnWrOxHjSLGNL_undEezqti-iHSVecA"]
Date: Sep 10, 2026
DEFAULT_POST_RELEASE_SCRIPT_PATH = join("scripts", "post-release.sh"), publish command ["publish NEW-VERSION"], aliases ["pp", "publish"], and description "π« Publish artifacts".allowedTargetNames by filtering configured targets against new Set(getAllTargetNames()) and mapping accepted targets through BaseTarget.getId."NEW-VERSION" as a string described as "Version to publish"; option "target" has alias "t", accepts the derived target names plus "all" and "none", defaults to "all", and is described as "Publish to this target"; option "rev" has alias "r" and accepts a source git SHA or tag when not publishing the release-branch head.publishToTarget(target, newVersion, revision), can delete a remote branch using git.branch(["-D", branch]).push([remoteName, "--delete", branch]), and reports "Merge conflict β both ort and resolve strategies failed." when both merge strategies fail."CLI option" when argv.noMerge is set, otherwise "auto-detection (compiled GitHub Action with dist/ folder)" when noMergeConfig.source === "auto-detected", or "config" otherwise.process.env.GITHUB_TOKEN: getGitHubApiToken() prefers GITHUB_TOKEN over GITHUB_API_TOKEN; ghcr.io registry authentication falls back to GITHUB_ACTOR || "x-access-token" and GITHUB_TOKEN || GITHUB_API_TOKEN; and GitHub clone authentication uses GITHUB_API_TOKEN || GITHUB_TOKEN.getGitHubApiToken() throws ConfigurationError("GITHUB_TOKEN not found. This is required to fetch PR information from GitHub.\nTip: Run \gh auth token` if you have GitHub CLI installed.")when neitherGITHUB_TOKENnorGITHUB_API_TOKENexists;getGitHubClient(token = "")uses the explicit token or callsgetGitHubApiToken()`.ghcr.io, the compiled registry logic fills a missing username from process.env.GITHUB_ACTOR || "x-access-token" and a missing password from process.env.GITHUB_TOKEN || process.env.GITHUB_API_TOKEN; with default fallback enabled, it subsequently uses DOCKER_USERNAME and DOCKER_PASSWORD for still-missing values.github.com, the compiled clone logic reads process.env.GITHUB_API_TOKEN || process.env.GITHUB_TOKEN, logs "Using provided github PAT token for authentication.", places the token in parsedUrl.password, defaults an absent username to "x-access-token", serializes the authenticated URL, passes it to cloneRepo(authenticatedUrl, directory), checks out branch, and runs git.raw("rm", "-r", ".").GITHUB_API_TOKEN references, 1 credential.helper reference, 0 http.extraheader references, and 2 "x-access-token" references.credential.helper occurrence was a configuration-safety mapping i("credential.helper", "allowUnsafeCredentialHelper"), alongside controls including core.gitProxy, core.hooksPath, core.pager, core.sshCommand, diff.command, diff.external, diff.textconv, filter.clean, filter.smudge, gpg.program, init.templateDir, merge.driver, and mergetool.path.