[Gambas-user] Pre-release of Gambas 3.16.0 (V2)
Tobias Boege
tobs at taboege.de
Sat Apr 17 14:10:47 CEST 2021
On Fri, 16 Apr 2021, PICCORO McKAY Lenz wrote:
> itr seem nobody understand
> the Semantic versioning here.. Y.X.Z < than X.Y.Z+YYYYMMMDDD
>
> learn somemnthing
>
Semantic versioning: https://semver.org/
In semantic versioning, the +YYYYMMDD would be so-called build metadata.
The specification explicitly states:
§11.1 [...] Build metadata does not figure into precedence
Therefore X.Y.Z == X.Y.Z+YYYYMMDD.
And there is a difference between + and - when appending to a version.
X.Y.Z-YYYYMMDD would make the date into a numeric pre-release version
(see §9) which is specified to sort *strictly before* X.Y.Z, no matter
what its value is.
3.16.0-rc1 would be completely fine for any package management which
adheres to semantic versioning -- but like Benoît, I could not find
a list of packager managers which claim to do that. If they only use
some kind of versionsort, then chances are that X.Y.Z-rc1 as well as
X.Y.Z+YYYYMMDD will be greater than X.Y.Z.
Best,
Tobias
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list