d09d62b6b8
Closes #3311
8 lines
213 B
Ruby
8 lines
213 B
Ruby
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
|