Skip to content

Commit

Permalink
Remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot committed Nov 2, 2023
1 parent ed35b2a commit ffbda1f
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions scripts/release.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The following code is adapted from a fork of the `changesets/actions` repository
* to allow us to generated aggregated changelogs for our monorepo.
* to allow us to generate aggregated changelogs for our monorepo.
* This code can be removed when changesets supports monorepo aggregations.
*/

Expand Down Expand Up @@ -102,16 +102,15 @@ const createAggregatedRelease = async () => {

const link = `Full Changelog: [${prevTag}...${tag_name}](https://github.com/FormidableLabs/victory/compare/${prevTag}...${tag_name})`;
const body = `## What's Changed\n\n${changelogEntry.content}\n\n${link}`;
console.log(body);

// await octokit.rest.repos.createRelease({
// owner: "FormidableLabs",
// repo: "victory",
// tag_name,
// name: tag_name,
// body,
// prerelease: false,
// });

await octokit.rest.repos.createRelease({
owner: "FormidableLabs",
repo: "victory",
tag_name,
name: tag_name,
body,
prerelease: false,
});
};

(async () => {
Expand Down

0 comments on commit ffbda1f

Please sign in to comment.