-
Notifications
You must be signed in to change notification settings - Fork 532
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
feat(build-infrastructure): Add setVersion API #22919
base: main
Are you sure you want to change the base?
feat(build-infrastructure): Add setVersion API #22919
Conversation
8e2237b
to
5c83787
Compare
describe("setVersion", () => { | ||
afterEach(async () => { | ||
await git.checkout(["HEAD", "--", testRepoRoot]); | ||
repo.reload(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not necessary to re-assign the release groups and workspaces after reloading the repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, I don't think so. The reload operation just reloads the packages' data from disk. It doesn't actually load the IFluid repo from config again. That is, this is not the same as creating a new IFluidRepo. So the references should all stay the same after reload.
Co-authored-by: Alex Villarreal <[email protected]>
This change adds a
setVersion
API that acts on several packages.AB#21855