File tree Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -17,23 +17,17 @@ IS_MATRIX_TESTING=${IS_MATRIX_TESTING:-false}
17
17
18
18
# For matrix testing, we have to determine the correct driver version
19
19
if [ " $IS_MATRIX_TESTING " == " true" ]; then
20
- set_extension_version () {
21
- case $1 in
22
- ' 4.4' )
23
- export DRIVER_VERSION=' 1.8.2'
24
- ;;
25
- ' 4.2' )
26
- export DRIVER_VERSION=' 1.6.1'
27
- ;;
28
- ' 4.0' )
29
- export DRIVER_VERSION=' 1.5.5'
30
- ;;
31
- esac
32
- }
33
-
34
- set_extension_version " ${DRIVER_MONGODB_VERSION} "
35
-
36
- echo $DRIVER_VERSION
20
+ case " ${DRIVER_MONGODB_VERSION} " in
21
+ ' 4.4' )
22
+ export DRIVER_VERSION=' 1.8.2'
23
+ ;;
24
+ ' 4.2' )
25
+ export DRIVER_VERSION=' 1.6.1'
26
+ ;;
27
+ ' 4.0' )
28
+ export DRIVER_VERSION=' 1.5.5'
29
+ ;;
30
+ esac
37
31
38
32
DIR=$( dirname $0 )
39
33
. $DIR /install-dependencies.sh
You can’t perform that action at this time.
0 commit comments