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