Skip to content

Commit

Permalink
UnitTest: fix max apk size check
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Sep 15, 2024
1 parent 108ddf8 commit 84a5ce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/CheckBuild/check-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "APK doesn't exist"
exit 5
fi
s=`du -B 1048576 "$f" | cut -f1 | tr -dc '0-9'`
if [ $s -lt 12 ] || [ $s -gt 15 ]
if [ $s -lt 12 ] || [ $s -gt 16 ]
then
echo "APK out of size range @ ${s}M"
exit 5
Expand All @@ -18,7 +18,7 @@ echo "Wear APK doesn't exist"
exit 5
fi
s=`du -B 1048576 "$f" | cut -f1 | tr -dc '0-9'`
if [ $s -lt 2 ] || [ $s -gt 3 ]
if [ $s -lt 2 ] || [ $s -gt 4 ]
then
echo "Wear APK out of size range @ ${s}M"
exit 5
Expand Down

0 comments on commit 84a5ce8

Please sign in to comment.