Commit 564cb8f6 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'print-git-version-in-ee-check' into 'master'

Print the Git version for EE specific check

See merge request gitlab-org/gitlab-ee!5668
parents d5113dac f0c74e20
......@@ -3,6 +3,7 @@
require_relative 'ee_specific_check/ee_specific_check'
include EESpecificCheck # rubocop:disable Style/MixinUsage
git_version
base = find_compare_base
......
......@@ -3,6 +3,7 @@
require_relative 'ee_specific_check/ee_specific_check'
include EESpecificCheck # rubocop:disable Style/MixinUsage
git_version
base = find_compare_base
......
......@@ -18,6 +18,10 @@ module EESpecificCheck
module_function
def git_version
say run_git_command('--version')
end
def say(message)
puts "\n#{message}", "\n" # puts would eat trailing newline
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment