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

Monorepo flow: Roll back all filesystem changes if error encountered #17

Open
mcmire opened this issue Jul 19, 2022 · 0 comments
Open
Labels

Comments

@mcmire
Copy link
Contributor

mcmire commented Jul 19, 2022

It is possible for an error to occur while making changes to a monorepo. For instance, as we are updating the changelog for each package, auto-changelog will call git fetch --tags to get the latest tags for the repo. Admittedly, it should probably only do this once at the beginning, but regardless, if this fails for a particular package, but we have made changes to other packages, then the tool will completely abort and leave the repo in a dirty state. We should see if we can roll back all of the filesystem changes if this occurs.

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

No branches or pull requests

3 participants