diff --git a/CLUSTERFLUX_PUBLIC_TREE.json b/CLUSTERFLUX_PUBLIC_TREE.json index 52b20f7..295d2c3 100644 --- a/CLUSTERFLUX_PUBLIC_TREE.json +++ b/CLUSTERFLUX_PUBLIC_TREE.json @@ -1,7 +1,7 @@ { "kind": "clusterflux-filtered-public-tree", - "source_commit": "5e0e2bce9be3df55b3b7bd4f9a287c58ca2f4385", - "release_name": "release-5e0e2bce9be3", + "source_commit": "020d19c19c9c6b75314e0044cade95cee035ba1c", + "release_name": "release-020d19c19c9c", "filtered_out": [ "private/**", "internal/**", diff --git a/scripts/prepare-public-release.js b/scripts/prepare-public-release.js index 7ac5d77..eca582e 100755 --- a/scripts/prepare-public-release.js +++ b/scripts/prepare-public-release.js @@ -1082,11 +1082,9 @@ function main() { run("scripts/check-old-name.sh", [], { cwd: publicTree }); run("node", ["scripts/check-docs.js"], { cwd: publicTree }); run("scripts/check-code-size.sh", [], { cwd: publicTree }); - const publicTreePublish = publishPublicTree( - releaseName, - sourceCommit, - publicTreeIdentity - ); + const publicTreePublish = candidate + ? candidate.public_tree_publish + : publishPublicTree(releaseName, sourceCommit, publicTreeIdentity); let binaryArchive; let hostedBinaryArchive; let binaryDigests; @@ -1166,8 +1164,12 @@ function main() { include_forgejo_workflows: includeForgejoWorkflows, }, forgejo_host: forgejoHost, - public_repo_url: process.env.CLUSTERFLUX_PUBLIC_REPO_URL || publicTreePublish.remote, - public_repo_remote: process.env.CLUSTERFLUX_PUBLIC_REPO_REMOTE || null, + public_repo_url: + process.env.CLUSTERFLUX_PUBLIC_REPO_URL || + candidate?.public_repo_url || + publicTreePublish.remote, + public_repo_remote: + process.env.CLUSTERFLUX_PUBLIC_REPO_REMOTE || candidate?.public_repo_remote || null, public_tree_publish: publicTreePublish, forgejo_release_url: process.env.CLUSTERFLUX_FORGEJO_RELEASE_URL || null, default_hosted_coordinator_endpoint: defaultHostedCoordinatorEndpoint,