-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: buggy nextY logic for maxOCPVersion
The handling logic of versions that are pre-releases by the nextY() func (that determines the next Y release) was erroneous. Eg: nextY("4.16.0") returns "4.17" correctly, but nextY("4.16.0-rc1") returns "4.16" (the correct value is still "4.17"). This PR fixes the nextY function. Also has improvement for the "not-upgradeable to next OCP" version message.
- Loading branch information
Showing
2 changed files
with
43 additions
and
24 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