diff options
author | Nadia Barbosa <nadiabarbosa@me.com> | 2019-03-14 13:34:58 -0700 |
---|---|---|
committer | Nadia Barbosa <nadiabarbosa@me.com> | 2019-03-14 13:34:58 -0700 |
commit | b78018b1936d8d86ede15ef982cc7ed75be26e41 (patch) | |
tree | 5ecb7e3519e56d9e4e51e6dcefaa0398a4ed3bbf | |
parent | edd834ce613ec766b8b6c5e635c0b50a06cab9d4 (diff) | |
download | qtlocation-mapboxgl-upstream/nb-binary-size-fix.tar.gz |
"master"upstream/nb-binary-size-fix
-rwxr-xr-x | platform/android/scripts/metrics.sh | 2 | ||||
-rwxr-xr-x | platform/ios/scripts/metrics.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/platform/android/scripts/metrics.sh b/platform/android/scripts/metrics.sh index cc33daf174..e32abc0dde 100755 --- a/platform/android/scripts/metrics.sh +++ b/platform/android/scripts/metrics.sh @@ -12,7 +12,7 @@ scripts/check_binary_size.js "platform/android/MapboxGLAndroidSDK/build/intermed # Track overall library size scripts/check_binary_size.js "platform/android/MapboxGLAndroidSDK/build/outputs/aar/MapboxGLAndroidSDK-release.aar" "Android AAR" -if [[ $CIRCLE_BRANCH == master ]]; then +if [[ $CIRCLE_BRANCH == "master" ]]; then # 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 diff --git a/platform/ios/scripts/metrics.sh b/platform/ios/scripts/metrics.sh index e90a336374..c807af0a10 100755 --- a/platform/ios/scripts/metrics.sh +++ b/platform/ios/scripts/metrics.sh @@ -22,8 +22,9 @@ echo "✅ Ready to check binary size..." echo $CIRCLE_BRANCH echo master echo $master +echo "master" -if [[ $CIRCLE_BRANCH == $master ]]; then +if [[ $CIRCLE_BRANCH == "master" ]]; then # Build source data for http://mapbox.github.io/mapbox-gl-native/metrics/binary-size/ # and log binary sizes to metrics warehouse echo "✅ Publishing binary size..." |