From d34f0f0ef126ab794990a306a7a682daa1dbb3c8 Mon Sep 17 00:00:00 2001 From: Nadia Barbosa Date: Tue, 4 Dec 2018 16:12:58 -0800 Subject: [build] Publish Android/iOS binary sizes to S3 --- platform/android/scripts/metrics.sh | 4 +++- platform/ios/scripts/metrics.sh | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'platform') diff --git a/platform/android/scripts/metrics.sh b/platform/android/scripts/metrics.sh index 6c74ecced9..cc33daf174 100755 --- a/platform/android/scripts/metrics.sh +++ b/platform/android/scripts/metrics.sh @@ -13,5 +13,7 @@ scripts/check_binary_size.js "platform/android/MapboxGLAndroidSDK/build/intermed scripts/check_binary_size.js "platform/android/MapboxGLAndroidSDK/build/outputs/aar/MapboxGLAndroidSDK-release.aar" "Android AAR" if [[ $CIRCLE_BRANCH == master ]]; then - scripts/publish_binary_size.js + # Build source data for http://mapbox.github.io/mapbox-gl-native/metrics/binary-size/ + # and log binary sizes to metrics warehouse + scripts/publish_binary_size.js fi diff --git a/platform/ios/scripts/metrics.sh b/platform/ios/scripts/metrics.sh index 3fed04d0f0..080dce7427 100755 --- a/platform/ios/scripts/metrics.sh +++ b/platform/ios/scripts/metrics.sh @@ -19,5 +19,8 @@ scripts/check_binary_size.js "build/ios/pkg/dynamic/Mapbox-stripped-x86_64" "iO scripts/check_binary_size.js "build/ios/pkg/dynamic/Mapbox-stripped" "iOS Dynamic" if [[ $CIRCLE_BRANCH == master ]]; then - scripts/publish_binary_size.js + # Build source data for http://mapbox.github.io/mapbox-gl-native/metrics/binary-size/ + # and log binary sizes to metrics warehouse + scripts/publish_binary_size.js fi + -- cgit v1.2.1