mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
9 lines
228 B
Ruby
9 lines
228 B
Ruby
module Gitlab
|
|
def self.config
|
|
Settings
|
|
end
|
|
|
|
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
|
|
end
|