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

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