uppercase Gitlab version and revision constants. check api return gitlab version now
This commit is contained in:
parent
e65cc4f849
commit
b729728536
5 changed files with 10 additions and 7 deletions
|
@ -40,7 +40,9 @@ module Gitlab
|
|||
|
||||
get "/check" do
|
||||
{
|
||||
api_version: '3'
|
||||
api_version: Gitlab::API.version,
|
||||
gitlab_version: Gitlab::VERSION,
|
||||
gitlab_rev: Gitlab::REVISION,
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
|
@ -40,8 +40,8 @@ namespace :gitlab do
|
|||
|
||||
puts ""
|
||||
puts "GitLab information".yellow
|
||||
puts "Version:\t#{Gitlab::Version}"
|
||||
puts "Revision:\t#{Gitlab::Revision}"
|
||||
puts "Version:\t#{Gitlab::VERSION}"
|
||||
puts "Revision:\t#{Gitlab::REVISION}"
|
||||
puts "Directory:\t#{Rails.root}"
|
||||
puts "DB Adapter:\t#{database_adapter}"
|
||||
puts "URL:\t\t#{Gitlab.config.gitlab.url}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue