diff --git a/scripts/changeset/update-changelog.mts b/scripts/changeset/update-changelog.mts index 77adc5d9e9..7ba4c74ece 100644 --- a/scripts/changeset/update-changelog.mts +++ b/scripts/changeset/update-changelog.mts @@ -118,6 +118,8 @@ await (async () => { return; } + execSync(`git checkout ${REF_NAME}`); + const octokit = github.getOctokit(GITHUB_TOKEN); // update changesets PR body @@ -139,7 +141,6 @@ await (async () => { const changelog = await getFullChangelog(octokit); - console.log(changelog); await octokit.rest.pulls.update({ ...github.context.repo, pull_number: changesetPr.number,