1#!/usr/bin/env bash 2 3set -euo pipefail 4 5echo "running hack/update/container-targets.sh to check if repo is up-to-date" 6just update-container-targets 7 8changed_files=$(git status --porcelain) 9 10if [[ -n "${changed_files}" ]]; then 11 echo "container targets are out of date:" 12 echo "${changed_files}" 13 echo 14 echo "run just/update/container-targets" 15 exit 1 16fi