summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-10 16:48:33 +0100
committerYorhel <git@yorhel.nl>2008-12-10 16:48:33 +0100
commitf773850eeee32c1c12c74333c655f1a669a9d1cc (patch)
treeb483bd4821c5afee260d22d3084535ec267108e7 /data
parent4ce5509928eeac80b6914a582f6a3c1fe801b9ba (diff)
Git describe is more descriptive
Diffstat (limited to 'data')
-rw-r--r--data/global.pl2
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',