Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command to view changes since previous release for a package in a monorepo #110

Open
mcmire opened this issue Nov 17, 2023 · 1 comment

Comments

@mcmire
Copy link
Contributor

mcmire commented Nov 17, 2023

If the user runs this command from within a monorepo:

yarn create-release-branch log @metamask/controller-utils

then it should show a list of commits that have taken place between HEAD and the given package's previous release (going off of the Git tags). This command should be a proxy over git log, so the user should be able to pass arbitrary arguments to this command they would usually be able to pass to git log.

Similarly, if the user runs

yarn create-release-branch diff @metamask/controller-utils

then it should show a commits with changes that have taken place between HEAD and the given package's previous release (going off of the Git tags). This command should be a proxy over git diff, so the user should be able to pass arbitrary arguments to this command they would usually be able to pass to git log.

(I realize that it may be strange to pass commands to a tool that supposedly creates a release branch, but I'm considering renaming this tool to indicate that it can be used to manage releases and not just create them. That's a different ticket, though.)

@desi
Copy link
Contributor

desi commented Nov 22, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants