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
|
|
@ -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