You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "diff" function should report the level of the highest prio difference.
When comparing "1.1.1-foo" to "1.1.2" the fact that the first is a pre-build is not of interest because the second is a regular version, i.e. the relevant change is on patch level.
Hence the result should be "patch", not "prepatch".
When comparing "1.1.1" to "1.1.2-foo" the relevant change is on patch level but with the caveat that the second is a pre-release version.
Hence only in this case the result should be (as it is now) "prepatch".
The text was updated successfully, but these errors were encountered:
mick62
changed the title
Diff should consider pre only on greater side
Diff should consider pre only on greater version
Mar 17, 2022
The "diff" function should report the level of the highest prio difference.
When comparing "1.1.1-foo" to "1.1.2" the fact that the first is a pre-build is not of interest because the second is a regular version, i.e. the relevant change is on patch level.
Hence the result should be "patch", not "prepatch".
When comparing "1.1.1" to "1.1.2-foo" the relevant change is on patch level but with the caveat that the second is a pre-release version.
Hence only in this case the result should be (as it is now) "prepatch".
The text was updated successfully, but these errors were encountered: