diff options
author | Yorhel <git@yorhel.nl> | 2008-12-10 16:48:33 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-10 16:48:33 +0100 |
commit | f773850eeee32c1c12c74333c655f1a669a9d1cc (patch) | |
tree | b483bd4821c5afee260d22d3084535ec267108e7 /data | |
parent | 4ce5509928eeac80b6914a582f6a3c1fe801b9ba (diff) |
Git describe is more descriptive
Diffstat (limited to 'data')
-rw-r--r-- | data/global.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/global.pl b/data/global.pl index 3eb7a623..bb4bfe4a 100644 --- a/data/global.pl +++ b/data/global.pl @@ -14,7 +14,7 @@ our %O = ( # VNDB-specific options (object_data) our %S = ( - version => 'git-'.substr(`cd $VNDB::ROOT; git rev-parse HEAD`, 0, 12), + version => `cd $VNDB::ROOT; git describe` =~ /^(.+)$/ && $1, url => 'http://vndb.org', url_static => 'http://s.vndb.org', site_title => 'Yet another VNDB clone', |