From 4080ac1b6ab3bcd33ac1e370b217f433cebad1f1 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 5 Mar 2015 20:41:03 +0100 Subject: index: git describe works now --- index.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.pl b/index.pl index 9b19fbf..108539c 100644 --- a/index.pl +++ b/index.pl @@ -8,7 +8,7 @@ use utf8; no if $] >= 5.018, warnings => "experimental::smartmatch"; -#our $VERSION = qx{git describe --dirty} || '0.01'; +our $VERSION = qx{git describe --dirty} || '0.01'; my $table = $ENV{DBDB_TABLE} // 'departures'; @@ -294,7 +294,7 @@ get '/2ddata.tsv' => sub { get '/' => sub { my $self = shift; - $self->render('intro'); + $self->render('intro', version => $VERSION); return; }; -- cgit v1.2.3