Conversation
Improved the code that removes the "Alpha/Beta" suffixes from the version string.
|
Testing now |
|
Morning @Martinski4GitHub Works as intended, however using the following format: 3004.386.12.4.Beta1 (outside the standard) in the debug mode breaks the changelog verification: Not sure if that's something we need to address next. |
Seems to me that the reason is the matching becomes broken, it currently searchs the file for the startpoint using the standard format (3004.388.6) and then the end by searching for the next point following that format, and then parses that chunk between the 2 points. But 3004.386.12.4.Beta1 (or 3004.386.12.4) for that matter, does not match the format we are looking for in the changelogs and due to that, checks the entire change log. |
|
I see 2 routes to the above problem, one is we simply disable changelog verification if those 2 points aren't found, or we try to adapt the matching so it can find formats such as: "3004.386.12.4" I'm pretty sure (like 80% sure) my current solution would not match that format correctly now even if was in the file. |
I think you have to adjust your logic to account for two different version formats used in the changelogs: For 386 F/W: For 388 F/W: |
Agreed, I didn't sleep last night at all really, so just starting to look into this now LOL. 1 is adjust the logic for the formats, and if after adjusting the logic for multiple formats still doesn't find it, then we just flat out disable it so people aren't confused. |
Improved the code that removes the "Alpha/Beta" suffixes from the version string.
I was testing the "Beta-to-Production" option and by chance set the Beta version like this:
"3004.386.12.4.Beta1"
Which gave this string: "3004.386.12.4."
So I added possible separators for the "Beta" suffix. Now the resulting value is as expected:
"3004.386.12.4Beta1" ==> "3004.386.12.4"
"3004.386.12.4.Beta1" ==> "3004.386.12.4"
"3004.386.12.4_Beta1" ==> "3004.386.12.4"
"3004.386.12.4-Beta1" ==> "3004.386.12.4"