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
If both files are being considered to be installed, the current sort will select the 9.0 version, as it thinks it is "newer" than the one with the third digit. Essentially 19.0 should be treated as 19.0.0, and ranked below 19.0.1 not above, which will require a change to this line:
This should also be able to accommodate files starting with DaVinci_Resolve_* and DaVinci_Resolve_Studio_*.
Dunno if there's a ready made solution for BASH (I don't want to rely on anything else being installed on the host) for sorting files with three version numbers like this, but before I go on a quest to solve it-- anyone know a simple, easy fix (?)
The text was updated successfully, but these errors were encountered:
Consider two semantically versioned files:
DaVinci_Resolve_Studio_19.0.1_Linux.zip
DaVinci_Resolve_Studio_19.0_Linux.zip
If both files are being considered to be installed, the current sort will select the
9.0
version, as it thinks it is "newer" than the one with the third digit. Essentially19.0
should be treated as19.0.0
, and ranked below 19.0.1 not above, which will require a change to this line:This should also be able to accommodate files starting with
DaVinci_Resolve_*
andDaVinci_Resolve_Studio_*
.Dunno if there's a ready made solution for BASH (I don't want to rely on anything else being installed on the host) for sorting files with three version numbers like this, but before I go on a quest to solve it-- anyone know a simple, easy fix (?)
The text was updated successfully, but these errors were encountered: