From 779dbe849f52e0989b6e770c01e284a78d4f7213 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Mon, 18 Aug 2008 16:32:49 +0200 Subject: [PATCH] add date of latest git commit to footer for better version reporting this will only work if you recreate your environment.rb from the tmpl --- config/environment.rb.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environment.rb.tmpl b/config/environment.rb.tmpl index d8123647..56e80221 100644 --- a/config/environment.rb.tmpl +++ b/config/environment.rb.tmpl @@ -100,3 +100,5 @@ MOBILE_CONTENT_TYPE = 'tracks/mobile' Mime::Type.register(MOBILE_CONTENT_TYPE, :m) TRACKS_VERSION='1.7-devel' +info=`git log --pretty=format:"%ai" -1` +TRACKS_VERSION=TRACKS_VERSION+' ('+info+')' \ No newline at end of file