]> git.lizzy.rs Git - dragonfireclient.git/commit
Make Git version detection use VERSION_STRING instead of tags
authorShadowNinja <shadowninja@minetest.net>
Mon, 4 May 2015 22:46:49 +0000 (18:46 -0400)
committerest31 <MTest31@outlook.com>
Tue, 5 May 2015 15:13:05 +0000 (17:13 +0200)
commit1be2d32fd502eeb68bd63fb07b0325b25ee357bd
treec1c1481f91d0d933a65459354cf979d461557223
parentdfd790930c8c1464ead730999c3ac9677d130360
Make Git version detection use VERSION_STRING instead of tags

This fixes the problem where 0.4.12-dev versions were erroneously shown as
0.4.11-dev because the tag was added on a separate branch.  It also fixes a
similar issue when builders didn't fetch new tags when updating.

This also removes the number-of-commits-since-tag field, since it's
incompatible with this.  Said field doesn't seem to be useful anyway if you
have the commit hash.
CMakeLists.txt
cmake/Modules/GenerateVersion.cmake
src/CMakeLists.txt
util/bump_version.sh