summaryrefslogtreecommitdiffstats
path: root/tools/git-version-gen
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: use sed to substituteKarel Zak2016-11-291-1/+1
| | | | | | | Travis CI: tools/git-version-gen: 116: tools/git-version-gen: Bad substitution Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix "remove the g in git describe"Ruediger Meier2016-11-291-8/+8
| | | | | | | | | | | | | | | | | | | | | | | 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>
* build-sys: remove old git fallback from git-version-genRuediger Meier2016-11-291-21/+0Star
| | | | | | | Just make the script more readable. Nobody is using 10 years old git. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* build-sys: fix git-version-gen for -rc tagsKarel Zak2011-07-291-3/+12
| | | | | | | The current version have a problem to support "v2.20-rc1" format of the tags. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use git-version-gen to distinct git and release versionsSami Kerola2011-04-051-0/+172
The script is copied as is from gnulib. [kzak@redhat.com: - generate .tarball-version and .version files in top level Makefile.am - delete autom4te.cache in autogen.sh] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>