MetaMask / action-publish-release

MIT License
13 stars 6 forks source link

Re-implement in TypeScript, add monorepo support #4

Closed rekmarks closed 3 years ago

rekmarks commented 3 years ago

This PR re-implements this Action in TypeScript and adds support for monorepos. I have copied MetaMask/action-create-release-pr to the greatest extent possible, both in terms of structure and shared utilities, now living in @metamask/action-utils.

The responsibilities of this action are to compute the release notes from the changelog(s) of the released package(s), and then to create a GitHub release. We accomplish this by using @metamask/auto-changelog, and using the monorepo vs. polyrepo logic from action-create-release-pr.

AFAIK, there's no way of easily testing this without merging this PR and cutting a new release of this Action. I might just merge it, confirm that it works, then ask for more reviews later.