2012-06-30 17:35:24 -04:00
|
|
|
module Gitlab
|
2012-07-02 14:51:48 -04:00
|
|
|
def self.config
|
2013-01-18 19:47:57 -05:00
|
|
|
Settings
|
2012-07-02 14:51:48 -04:00
|
|
|
end
|
2015-11-03 17:10:38 -05:00
|
|
|
|
2016-02-15 12:41:12 -05:00
|
|
|
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
|
2012-06-30 17:35:24 -04:00
|
|
|
end
|