mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
update template to remove warning about already initialized constant as reported in #758
Thanks Claus
This commit is contained in:
parent
73765c184d
commit
955b751791
1 changed files with 8 additions and 3 deletions
|
|
@ -99,6 +99,11 @@ TRACKS_COOKIES_SECURE = false
|
|||
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+')'
|
||||
tracks_version='1.7-devel'
|
||||
|
||||
# comment out next two lines if you do not want (or can not) the date of the
|
||||
# last git commit in the footer
|
||||
info=`git log --pretty=format:"%ai" -1`+
|
||||
tracks_version=tracks_version + ' ('+info+')'
|
||||
|
||||
TRACKS_VERSION=tracks_version
|
||||
Loading…
Add table
Add a link
Reference in a new issue