Hi,
I wanted to suggest adding Gnulib's build-aux/git-version-gen as an
alternative in the "Test Releases" section of the GNU Maintainer
Information.
This script automatically generates a version number based on the
version controlled history of the project (using `git describe'). For
example the version string `3.4.16-28c8' contains the following information:
1. The most recent tag in the project's history was 3.4.
2. The commit of this version is 16 commits after the 3.4 tag.
3. The commit hash starts with "28c8".
It is called from within configure.ac, automatically generated, robust,
sortable, and meaningful. All these make it especially useful in test
releases.
It would also encourage good practice in stable releases: A tag must
first be registered in the Git history, for this script to generate the
proper stable version. It will also add a `-dirty' string to the version
number when there are uncommited changes, avoiding possible mistakes.
So I wanted to see if it would be possible to add it along with the
other alternatives in the "Test Releases" section of the GNU Maintainer
information document?
Cheers,
Mohammad