-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test-version-utils): Fix version calculation to account for legac…
…y breaking minor releases (#23603) This PR fixes N-X version calculation to take into account the new legacy breaking minor releases. For example, - For `2.0.0 <= N < 2.10.0`, N-1 is 2.0.0-rc.5.0.x. - For `2.10.0 <= N < 2.20.0`, N-1 is 2.5.x (latest minor between 2.0 and 2.10 is 2.5.x) - For `2.20.0 <= N < 2.30.0`, N-1 is 2.13.x (latest minor between 2.10 and 2.20 is 2.13.x) We should still consider a full rewrite of version calculation, since the code is extremely messy and hard to follow for developers not familiar with it already. However, this change is needed to ensure we continue testing properly in the meantime. See [AB#8198](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/8198) for more details. [AB#28437](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/28437)
- Loading branch information
Showing
2 changed files
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters