summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2019-03-04 14:54:32 -0800
committerjmkiley <jordan.kiley@mapbox.com>2019-03-11 12:54:50 -0700
commit0b766b579568d0a9815a8037a2daa3333449f0e7 (patch)
treed0891635be023208cb0b79270ef3ac88aafb5f0f
parentd2f6d4e531ba7fdeb77f37450b08bac6a9ef5c08 (diff)
downloadqtlocation-mapboxgl-0b766b579568d0a9815a8037a2daa3333449f0e7.tar.gz
[ios] dash to underscore
-rwxr-xr-xplatform/ios/scripts/code-coverage.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/ios/scripts/code-coverage.sh b/platform/ios/scripts/code-coverage.sh
index 6ec2b73bfd..f9d67ffe88 100755
--- a/platform/ios/scripts/code-coverage.sh
+++ b/platform/ios/scripts/code-coverage.sh
@@ -26,14 +26,14 @@ cov=$(printf "%.2f" $(echo "$percentage*100" | bc -l))
# Create a formatted JSON file with the current coverage.
#
-
-cat <<EOF > ios-coverage.json
+file_name=ios_coverage.json
+cat <<EOF > $file_name
{ "current-coverage" : $cov }
EOF
-gzip -f ios-coverage.json
+gzip -f $file_name
#
# upload to AWS
#
current_date=$(TZ=UTC date +"%Y-%m-%d")
-aws s3 cp ios-coverage.json.gz s3://mapbox-loading-dock/raw/mobile.coverage/$current_date/ \ No newline at end of file
+aws s3 cp $file_name.gz s3://mapbox-loading-dock/raw/mobile.coverage/$current_date/ \ No newline at end of file