e.g. if we have 0.9.3-rc3 we will need to transform it to at least 0.9.3~rc3 to emulate behavior of RPM. Otherwise it will work incorrectly.
0.9.3-rc3
0.9.3~rc3
I don't expect cargo users to use more complicated examples with pre/post releases (e.g. 0.9.3-alpha+post2), so should be enough to check if ver.prerelease is not empty tuple and use major.minor.patch~prerelease.
0.9.3-alpha+post2
ver.prerelease
major.minor.patch~prerelease
Metadata Update from @ignatenkobrain: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.