#!/bin/sh # This script detects changes in static files after git pull # It outputs a list of subprojects that need to be rebuilt set -e die() { >&2 echo "error: $*" exit 1 } if ! command -v yq >/dev/null 2>&1; then die "yq is not installed. Please install yq to parse YAML files." fi APP_DIR= PREV_COMMIT= CURR_COMMIT= usage() { cat <