summaryrefslogtreecommitdiff
path: root/evergreen/commit_message_validate.sh
blob: b633bf4308cd1f1ab1f181c9af4cda593edbfa05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 || exit 1
  $python buildscripts/validate_commit_message.py \
    --evg-config-file ./.evergreen.yml \
    ${version_id}
fi