]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: fix "remove the g in git describe"
authorRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 17 Nov 2016 02:10:02 +0000 (03:10 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 29 Nov 2016 09:47:11 +0000 (10:47 +0100)
commit85004b142a3a358cfa9630e0d5cafc07af3e4da1
tree293da81c4958b99f5d02446f13a37eb90a6de560
parent6ac59b5bd556ce3dd8411ddb1c1850c52d438d86
build-sys: fix "remove the g in git describe"

The "g" was not always removed and "-rc*" follow-ups were handled
incorrectly.

So now after last commits we have these versions:

 git describe            -> blkid -V
 --------------------------------------------------------------
 v2.29-rc4               -> 2.29-rc4          (libblkid 2.29.0)
 v2.29-rc4-3-g4c8928d    -> 2.29-rc4-3-4c89   (libblkid 2.29.0)

 v2.29                   -> 2.29              (libblkid 2.29.0)
 v2.29-78-g4c8928d       -> 2.29.78-4c89      (libblkid 2.29.78)

 v2.29.1                 -> 2.29.1            (libblkid 2.29.1)
 v2.29.1-4-g4c8928d      -> 2.29.1.4-4c89     (libblkid 2.29.1)

 v2.29.1-rc2             -> 2.29.1-rc2        (libblkid 2.29.1)
 v2.29.1-rc2-3-g4c8928d  -> 2.29.1-rc2-3-4c89 (libblkid 2.29.1)

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tools/git-version-gen