Re: [PATCH] ld-version: fix it on Fedora
From: Maciej W. Rozycki
Date: Sun Jan 31 2016 - 10:07:14 EST
On Sat, 30 Jan 2016, Maciej W. Rozycki wrote:
> > % echo 18.104.22.16840217 | ld-version.sh
> > 22451000
> So the above version is a non-release snapshot from the development tree
> as the repository trunk is switched to x.y+1.51 once a release branch for
> x.y has been made. Then the release branch is switched to x.y-1.90 for
> prereleases, before settling on x.y or x.y.0 (this hasn't been consistent)
> for the actual base release. Any subsequent maintenance releases will
> then have their version set to x.y.1, x.y.2, and so on. We shouldn't ever
> rely on versions that are not proper releases.
I need to correct myself here for unclear notation or off-by-one errors,
the flow is of course as follows:
The revision number is sometimes bumped up on trunk as well, to 52, 53,
etc., though the criteria are not completely clear to me; perhaps to make
a trunk snapshot "release".
And last but not least for non-release builds the snapshot date is
automatically appended to the version number reported, as seen above.