Commit 3f462878 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

require gitlab-shell v1.4.0

parent 561ac355
...@@ -7,6 +7,7 @@ v 5.2.0 ...@@ -7,6 +7,7 @@ v 5.2.0
- Restyle project clone panel - Restyle project clone panel
- Move Gitlab::Git code to gitlab_git gem - Move Gitlab::Git code to gitlab_git gem
- Move update docs in repo - Move update docs in repo
- requires gitlab-shell v1.4.0
v 5.1.0 v 5.1.0
- You can login with email or username now - You can login with email or username now
......
...@@ -654,11 +654,13 @@ namespace :gitlab do ...@@ -654,11 +654,13 @@ namespace :gitlab do
end end
def check_gitlab_shell def check_gitlab_shell
required_version = '1.4.0'
print "GitLab Shell version? ... " print "GitLab Shell version? ... "
if gitlab_shell_version.strip == '1.3.0' if gitlab_shell_version.strip == required_version
puts 'OK (1.3.0)'.green puts "OK (#{required_version})".green
else else
puts 'FAIL. Please update gitlab-shell to v1.3.0'.red puts "FAIL. Please update gitlab-shell to v#{required_version}".red
end end
end end
end 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