File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ begin_test "ghe-host-check detects unsupported GitHub Enterprise Server versions
68
68
if [ -z " $supported " ]
69
69
then
70
70
# BACKUP_UTILS_VERSION WAS NOT FOUND IN LATEST.JSON, CHECK IF ITS GREATER THAN LAST VERSION
71
- if [ " $( version $bu_major_minor ) " -ge " $( version ${keys[$((${#keys[@]} - 2 ) )]})" ]; then
71
+ if [ " $( version $bu_major_minor ) " -ge " $( version ${keys[$((${#keys[@]} ) )]})" ]; then
72
72
GHE_TEST_REMOTE_VERSION=" $bu_major_minor .0" ghe-host-check
73
- GHE_TEST_REMOTE_VERSION=" ${keys[$(( ${#keys[@]} - 2 ))]}.0" ghe-host-check
74
- GHE_TEST_REMOTE_VERSION=" ${keys[$(( ${#keys[@]} - 3 ))]}.0" ghe-host-check
73
+ GHE_TEST_REMOTE_VERSION=" ${keys[$(( ${#keys[@]} ))]}.0" ghe-host-check
74
+ GHE_TEST_REMOTE_VERSION=" ${keys[$(( ${#keys[@]} - 1 ))]}.0" ghe-host-check
75
75
fi
76
76
else
77
77
# BACKUP_UTILS_VERSION WAS FOUND IN LATEST.JSON
You can’t perform that action at this time.
0 commit comments