#!/usr/bin/env bash
set -euo pipefail

# Add `--no-ci` to skip CI in update branch job.

script_dir=$(builtin cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
repo_dir="$(builtin cd "$script_dir" && git rev-parse --show-toplevel)"

"$repo_dir/ci/scripts/trigger_branch_update.py" \
  release/carta \
  --base-branch=develop/carta \
  --owner=zooxco \
  --repo=driving \
  "$@"
