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:
parent
e96bec003a
commit
3f785c539c
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue