gitlab-org--gitlab-foss/config/initializers/2_app.rb

9 lines
194 B
Ruby

module Gitlab
VERSION = File.read(Rails.root.join("VERSION")).strip
REVISION = Gitlab::Popen.popen(%W(git log --pretty=format:%h -n 1)).first.chomp
def self.config
Settings
end
end