Skip to content

Commit dbcd231

Browse files
authored
CSHARP-5004: Invoke all Drivers Evergreen Tools Scripts with Bash (#1296)
1 parent 27ee0b4 commit dbcd231

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

evergreen/build-apidocs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -o errexit # Exit the script with error if any of the commands fail
33

44
if [ -z "$PACKAGE_VERSION" ]; then
5-
PACKAGE_VERSION=$(sh ./evergreen/get-version.sh)
5+
PACKAGE_VERSION=$(bash ./evergreen/get-version.sh)
66
echo Calculated PACKAGE_VERSION value: "$PACKAGE_VERSION"
77
fi
88

evergreen/build-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -o errexit # Exit the script with error if any of the commands fail
33

44
if [ -z "$PACKAGE_VERSION" ]; then
5-
PACKAGE_VERSION=$(sh ./evergreen/get-version.sh)
5+
PACKAGE_VERSION=$(bash ./evergreen/get-version.sh)
66
echo Calculated PACKAGE_VERSION value: "$PACKAGE_VERSION"
77
fi
88

evergreen/evergreen.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ functions:
4747
fi
4848
4949
if [ "${BUILD_TARGET}" = "release" ]; then
50-
PACKAGE_VERSION=$(sh ./evergreen/get-version.sh)
50+
PACKAGE_VERSION=$(bash ./evergreen/get-version.sh)
5151
fi
5252
5353
export DOTNET_SDK_PATH="$(pwd)/../.dotnet"
@@ -101,7 +101,7 @@ functions:
101101
params:
102102
script: |
103103
${PREPARE_SHELL}
104-
sh ${PROJECT_DIRECTORY}/evergreen/install-dotnet.sh
104+
bash ${PROJECT_DIRECTORY}/evergreen/install-dotnet.sh
105105
106106
prepare-resources:
107107
- command: shell.exec
@@ -229,7 +229,7 @@ functions:
229229
STORAGE_ENGINE=${STORAGE_ENGINE} \
230230
ORCHESTRATION_FILE=${ORCHESTRATION_FILE} \
231231
SKIP_LEGACY_SHELL=${SKIP_LEGACY_SHELL} \
232-
sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
232+
bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
233233
# run-orchestration generates expansion file with the MONGODB_URI for the cluster
234234
- command: expansions.update
235235
params:
@@ -245,7 +245,7 @@ functions:
245245
AUTH=${AUTH} \
246246
SSL=${SSL} \
247247
ORCHESTRATION_FILE=${ORCHESTRATION_FILE} \
248-
sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
248+
bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
249249
- command: expansions.update
250250
params:
251251
file: mo-expansion.yml

0 commit comments

Comments
 (0)