2014-09-02 18:07:02 +05:30
|
|
|
module Gitlab
|
|
|
|
def self.config
|
|
|
|
Settings
|
|
|
|
end
|
2015-11-26 14:37:03 +05:30
|
|
|
|
2016-04-02 18:10:28 +05:30
|
|
|
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
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|