At the moment, output.publishedPackages only contains the new version/name of the pkgs.
It'd be nice having also the release notes attached, so for example a Slack notification can be triggered including the latest published changes.
const release = await createRelease(octokit, {
pkg,
tagName: `v${pkg.packageJson.version}`,
});
...
if (releasedPackages.length) {
return {
published: true,
publishedPackages: releasedPackages.map((pkg) => ({
name: pkg.packageJson.name,
version: pkg.packageJson.version,
+ notes: release.body
})),
};
}
At the moment,
output.publishedPackagesonly contains the new version/name of the pkgs.It'd be nice having also the release notes attached, so for example a Slack notification can be triggered including the latest published changes.
const release = await createRelease(octokit, { pkg, tagName: `v${pkg.packageJson.version}`, }); ... if (releasedPackages.length) { return { published: true, publishedPackages: releasedPackages.map((pkg) => ({ name: pkg.packageJson.name, version: pkg.packageJson.version, + notes: release.body })), }; }