fix: publish current TCS branch to registered target
This commit is contained in:
parent
4ff84ac677
commit
be264410d2
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
|||
"verify": "PASS"
|
||||
},
|
||||
"artifacts": {
|
||||
"finalizer_sha256": "7a115b47a564141f813b96861554d28e0270e7a305f3ff9be1bad46930729541",
|
||||
"finalizer_sha256": "e318d70ec96582942c85133e79ddd98f4e3cc125e1339cbe526589df63de74f8",
|
||||
"reflection_advisor_sha256": "b6071f4a3bb3a482e30a60b6a1861bd263b45dd23256944291bcb1d354b45022",
|
||||
"tcs_sha256": "10780d36e71df32c4d11dc299550755ed5d191b9a4435638d5e1d283c40a3222"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -600,7 +600,7 @@ export async function finalize(options) {
|
|||
options.repository || git(worktree, ["config", "--get", "remote.origin.url"]),
|
||||
);
|
||||
const branch = normalizeBranch(options.target || verified.branch);
|
||||
if (branch !== verified.branch) throw new Error("CHECKED_OUT_BRANCH_MISMATCH");
|
||||
if (branch !== verified.branch && !currentTcsBinding) throw new Error("CHECKED_OUT_BRANCH_MISMATCH");
|
||||
const publicSnapshot = validatePublicSnapshotBeforePublish(worktree, repository);
|
||||
|
||||
let publishRequestId = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue