0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/evergreen/commit_message_validate.sh
2022-04-26 19:20:59 +00:00

15 lines
395 B
Bash

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
cd src
set -o verbose
set -o errexit
if [ "${is_commit_queue}" = "true" ]; then
activate_venv
$python -m pip --disable-pip-version-check install --upgrade cryptography==36.0.2 || exit 1
$python buildscripts/validate_commit_message.py \
--evg-config-file ./.evergreen.yml \
${version_id}
fi