summaryrefslogtreecommitdiff
path: root/config/initializers/2_app.rb
blob: bd74f90e7d205f67894960d194e20091da4d3ae3 (plain)
1
2
3
4
5
6
7
8
module Gitlab
  def self.config
    Settings
  end

  VERSION  = File.read(Rails.root.join("VERSION")).strip.freeze
  REVISION = Gitlab::Popen.popen(%W(#{config.git.bin_path} log --pretty=format:%h -n 1)).first.chomp.freeze
end