After investigating the code, I realized that the number after the .r is being ignored.
With this exact setup (where oldVersion and newVersion are in the form of 456.r4x-1), the oldVer and newVer arrays becomes the same, and returns false.
I made a simple fix for now, but it probably needs a deeper look. I couldn't find any reliant package version conventions online, and I am not sure how the program should behave if the .rXX is being added or removed. For now, I just checked if it existed on both versions.
I had this prompt while using the program today.
After investigating the code, I realized that the number after the
.r
is being ignored.With this exact setup (where
oldVersion
andnewVersion
are in the form of456.r4x-1
), theoldVer
andnewVer
arrays becomes the same, and returns false.I made a simple fix for now, but it probably needs a deeper look. I couldn't find any reliant package version conventions online, and I am not sure how the program should behave if the
.rXX
is being added or removed. For now, I just checked if it existed on both versions.