JackTrapper / DelphiBugs

Bug tracker for Delphi
7 stars 2 forks source link

Auto-generate version number algorithm broken; leads to version numbers rolling backwards #22

Open JackTrapper opened 5 years ago

JackTrapper commented 5 years ago

It is currently:

I perform a full build, and the auto-generated version number is:

1.1.7059.9937

This decodes as:

If you add them:

This leads to a strange situation where newer builds have a version number older than older builds; which wreaks havoc with (for example) auto-updating.

Embarcadero® Delphi 10.3 Version 26.0.32429.4364

Bonus Reading

JackTrapper commented 5 years ago

Updated build, with the version number and the clock visible at the same time.

image

JackTrapper commented 2 years ago

Delphi 10.4 seems fixed

So: