Commit 3f462878428b4d9731e54f3b20166beb09fb77e7

Authored by Dmitriy Zaporozhets
1 parent 561ac355

require gitlab-shell v1.4.0

Showing 2 changed files with 6 additions and 3 deletions   Show diff stats
CHANGELOG
... ... @@ -7,6 +7,7 @@ v 5.2.0
7 7 - Restyle project clone panel
8 8 - Move Gitlab::Git code to gitlab_git gem
9 9 - Move update docs in repo
  10 + - requires gitlab-shell v1.4.0
10 11  
11 12 v 5.1.0
12 13 - You can login with email or username now
... ...
lib/tasks/gitlab/check.rake
... ... @@ -654,11 +654,13 @@ namespace :gitlab do
654 654 end
655 655  
656 656 def check_gitlab_shell
  657 + required_version = '1.4.0'
  658 +
657 659 print "GitLab Shell version? ... "
658   - if gitlab_shell_version.strip == '1.3.0'
659   - puts 'OK (1.3.0)'.green
  660 + if gitlab_shell_version.strip == required_version
  661 + puts "OK (#{required_version})".green
660 662 else
661   - puts 'FAIL. Please update gitlab-shell to v1.3.0'.red
  663 + puts "FAIL. Please update gitlab-shell to v#{required_version}".red
662 664 end
663 665 end
664 666 end
... ...