diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-16 14:42:22 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-16 14:42:22 +0200 |
commit | b7297285369171c95b006e49d6da7bc84b969fc8 (patch) | |
tree | 9e5a93a2bd32439cf1033444890d452e33cf8cfa /config | |
parent | e65cc4f849174e2767f2121120ea8f1880c3d6d2 (diff) | |
download | gitlab-ce-b7297285369171c95b006e49d6da7bc84b969fc8.tar.gz |
uppercase Gitlab version and revision constants. check api return gitlab version now
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/2_app.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/2_app.rb b/config/initializers/2_app.rb index 748f15a11d9..27a0c0ffeb2 100644 --- a/config/initializers/2_app.rb +++ b/config/initializers/2_app.rb @@ -1,6 +1,6 @@ module Gitlab - Version = File.read(Rails.root.join("VERSION")) - Revision = `git log --pretty=format:'%h' -n 1` + VERSION = File.read(Rails.root.join("VERSION")).strip + REVISION = `git log --pretty=format:'%h' -n 1` def self.config Settings |