summaryrefslogtreecommitdiff
path: root/etc/evergreen.yml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/evergreen.yml')
-rw-r--r--etc/evergreen.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 0f67951c3cf..1bff70a0c8c 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -8643,13 +8643,15 @@ tasks:
working_dir: src
shell: bash
script: |
+ ${activate_virtualenv}
+
set -o verbose
set -o errexit
+ # Since `commit_message` is an evergreen expansion, we need a way to ensure we
+ # properly deal with any special characters that could cause issues (like "). To
+ # do this, we will write it out to a file, then read that file into a variable.
if [ "${is_commit_queue}" = "true" ]; then
- # Since `commit_message` is an evergreen expansion, we need a way to ensure we
- # properly deal with any special characters that could cause issues (like "). To
- # do this, we will write it out to a file, then read that file into a variable.
cat > commit_message.txt <<END_OF_COMMIT_MSG
${commit_message}
END_OF_COMMIT_MSG
@@ -8657,8 +8659,9 @@ tasks:
commit_message_content=$(cat commit_message.txt)
rm commit_message.txt
- ${activate_virtualenv}
$python buildscripts/todo_check.py --commit-message "$commit_message_content"
+ else
+ $python buildscripts/todo_check.py --patch-build ${version_id}
fi
- <<: *task_template