Commit 3f462878428b4d9731e54f3b20166beb09fb77e7
1 parent
561ac355
Exists in
master
and in
4 other branches
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,6 +7,7 @@ v 5.2.0 | ||
| 7 | - Restyle project clone panel | 7 | - Restyle project clone panel |
| 8 | - Move Gitlab::Git code to gitlab_git gem | 8 | - Move Gitlab::Git code to gitlab_git gem |
| 9 | - Move update docs in repo | 9 | - Move update docs in repo |
| 10 | + - requires gitlab-shell v1.4.0 | ||
| 10 | 11 | ||
| 11 | v 5.1.0 | 12 | v 5.1.0 |
| 12 | - You can login with email or username now | 13 | - You can login with email or username now |
lib/tasks/gitlab/check.rake
| @@ -654,11 +654,13 @@ namespace :gitlab do | @@ -654,11 +654,13 @@ namespace :gitlab do | ||
| 654 | end | 654 | end |
| 655 | 655 | ||
| 656 | def check_gitlab_shell | 656 | def check_gitlab_shell |
| 657 | + required_version = '1.4.0' | ||
| 658 | + | ||
| 657 | print "GitLab Shell version? ... " | 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 | else | 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 | end | 664 | end |
| 663 | end | 665 | end |
| 664 | end | 666 | end |