I have tried to find out how Microsoft applies versioning in their NuGet packages (i.e. https://www.nuget.org/packages/System.Text.Json) but there are a couple of numbers I can't figure out where they come from.
If we take these packages from System.Text.Json
for instance:
5.0.0-rc.2.20475.55.0.0-rc.1.20451.145.0.0-preview.8.20407.115.0.0-preview.1.20120.54.7.0-preview3.19551.44.6.0-preview9.19421.4
I can't figure out the logic behind the two last numbers. The second to last seems to be always increasing even when changing Major or Minor versions but I don't know when it is increased.And the last number seems to be reset every time the second to last is increased, but again I can't figure out the logic behind it.
Does anyone have any information about it?