mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-10-28 06:33:44 +08:00
1328ace068
* Remove model chunking and use LFS for Chestnut releases * Check Git blob sizes once during release packaging * Download the big model for Chestnut nightly builds * Reuse published LFS models when pushing releases * Preserve LFS configuration when copying Chestnut releases * Detect release builds independently of LFS attributes
9 lines
220 B
Bash
9 lines
220 B
Bash
#!/usr/bin/env bash
|
|
|
|
BIG_FILES="$(git ls-tree -rl HEAD | awk '$4 > 95 * 1024 * 1024 {print $5}')"
|
|
if [ -n "$BIG_FILES" ]; then
|
|
echo "Found Git blobs exceeding the 95 MiB release limit:"
|
|
echo "$BIG_FILES"
|
|
exit 1
|
|
fi
|