Skip to content

Commit d8ac067

Browse files
committed
fix: skip raw libflutter upload when symbols exist
1 parent adc672d commit d8ac067

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/upload-android-debug-files.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ if [[ -f "$native_symbols_zip" ]]; then
3535
unzip -q "$native_symbols_zip" -d "$temp_dir/native-symbols"
3636
fi
3737

38+
if find "$temp_dir" -path '*/libflutter.so.sym' -type f | grep -q .; then
39+
find "$temp_dir" -path '*/libflutter.so' -type f -print -delete
40+
fi
41+
3842
if ! find "$temp_dir" -type f | grep -q .; then
3943
echo "Resolved Android debug files directory is empty." >&2
4044
exit 1

0 commit comments

Comments
 (0)