Commit graph

4 commits

Author SHA1 Message Date
Colin Guthrie
ba2e5f4442 build-sys: Add some smarts to version extraction from git tags.
When we are dealing with a tag against a commit with other tags applied,
then favour the first tag, not the last one. This allows us to tag a release
as e.g. v1.0, v1.1-dev and v2.0-dev and get a version of 1.0 rather than the
newer tags.

This also removes support for git versions that do not accept
the --match argument as we also now make use of the --contains arg
which was added at the same time (I think)

Additionally, the v variable is reset just incase it is already exported
in the shell for some reason.
2010-12-04 17:34:03 +00:00
Lennart Poettering
b4b1f0375c build-sys: teacch git versioning script to not kill - in version strings 2009-06-23 17:13:29 +02:00
Lennart Poettering
5651c03920 build-sys: drop compat with old git versions so that tarballs for -test1 style evrsions are properly created 2009-06-23 16:27:38 +02:00
Marc-André Lureau
ebe22ad0c3 build: generate git tarball using git describe 2009-04-23 19:49:12 +02:00