mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-10 22:52:37 +01:00
restore svn rev number in footer for trunk
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@793 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
0336c37e24
commit
80d46ac46f
1 changed files with 5 additions and 1 deletions
|
|
@ -85,4 +85,8 @@ end
|
||||||
MOBILE_CONTENT_TYPE = 'tracks/mobile'
|
MOBILE_CONTENT_TYPE = 'tracks/mobile'
|
||||||
Mime::Type.register(MOBILE_CONTENT_TYPE, :m)
|
Mime::Type.register(MOBILE_CONTENT_TYPE, :m)
|
||||||
|
|
||||||
TRACKS_VERSION = '1.50-trunk'
|
TRACKS_VERSION = '1.5-trunk'
|
||||||
|
info = `svn info #{RAILS_ROOT} --config-dir /etc/subversion`[/Last Changed Rev: (.*?)\n/]
|
||||||
|
if info
|
||||||
|
TRACKS_VERSION += '-rev'+info[/(\d+)/]
|
||||||
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue