summaryrefslogtreecommitdiff
path: root/evergreen/generate_version.sh
blob: 5a0ad5bb8d668341bf3fd159d718e2130e458dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"

cd src

set -o errexit
set -o verbose

setup_mongo_task_generator
activate_venv
PATH=$PATH:$HOME:/ ./mongo-task-generator \
  --expansion-file ../expansions.yml \
  --evg-auth-file ./.evergreen.yml \
  --evg-project-file ${evergreen_config_file_path} \
  --generate-sub-tasks-config etc/generate_subtasks_config.yml \
  $@