Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nedsalk committed Apr 1, 2024
1 parent ad4db2d commit a89d5ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/changeset/update-changelog.mts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ await (async () => {
return;
}

execSync(`git checkout ${REF_NAME}`);

const octokit = github.getOctokit(GITHUB_TOKEN);

// update changesets PR body
Expand All @@ -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,
Expand Down

0 comments on commit a89d5ea

Please sign in to comment.