temp: log changed dist files in verify-bundles for debugging

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Brian Tiemann 2026-05-21 12:24:39 -04:00
parent e96bec003a
commit 3f785c539c
1 changed files with 4 additions and 2 deletions

View File

@ -21,10 +21,12 @@ bundle() {
# See if any files have changed.
check_dist() {
local diff=$(git --no-pager diff $DIST)
if [[ $diff != "" ]]; then
local changed=$(git --no-pager diff --name-only $DIST)
if [[ $changed != "" ]]; then
local SHA=$(git rev-parse HEAD)
echo "Commit '$SHA' produced different static assets than were committed"
echo "Changed files:"
echo "$changed"
exit 1
fi
}