Hi!

I've just uploaded a git snapshot to Debian, but I found the current
git-version-gen output, as setup in configure.ac, to be problematic.

See this transcript:

  # Up-to-date master, current Debian snapshot
  $ git describe
  inetutils-1_9_1_100-18-gbbc1c28
  $ build-aux/git-version-gen .tarball-vesion 's/inetutils-/v/;s/_/./g'; echo
  1.9.1.100.18-bbc1
  # Rewind to the previous Debian snapshot
  $ git checkout 0a482
  $ git describe
  inetutils-1_9_1-306-g0a482ca
  $ build-aux/git-version-gen .tarball-vesion 's/inetutils-/v/;s/_/./g'; echo
  1.9.1.306-0a482

As you can see, the version has gone back from 1.9.1.306-0a482 to
1.9.1.100.18-bbc1, which sorts lower. I had to locally remove the
inetutils-1_9_1_100 tag to preserve the sort order in the generated
snapshot for Debian (resulting in version 1.9.1.363-bbc1).

Thanks,
Guillem

Reply via email to