diff --git a/.builder/actions/crt_size_check.py b/.builder/actions/crt_size_check.py index 49c1d2c7..bd991e21 100644 --- a/.builder/actions/crt_size_check.py +++ b/.builder/actions/crt_size_check.py @@ -74,4 +74,5 @@ def run(self, env): print(f"Total NPM package file size: {total_size} bytes") if total_size > max_size: - raise Exception(f'NPM package exceeds size limit of {max_size} bytes.') + raise Exception(f'NPM package exceeds size limit of { + max_size} bytes.') diff --git a/continuous-delivery/pack.sh b/continuous-delivery/pack.sh index d5fc0717..fbf0ea89 100644 --- a/continuous-delivery/pack.sh +++ b/continuous-delivery/pack.sh @@ -39,7 +39,7 @@ mkdir $UNZIP tar -xf aws-crt-$CURRENT_TAG.tgz -C $UNZIP PACK_FILE_SIZE_KB=$(du -sk $UNZIP | awk '{print $1}') echo "Current package size: ${PACK_FILE_SIZE_KB}" -if expr $PACK_FILE_SIZE_KB \> "$((27000))" ; then +if expr $PACK_FILE_SIZE_KB \> "$((33000))" ; then # the package size is too large, return -1 echo "Package size is too large!" exit -1