summaryrefslogtreecommitdiff
path: root/platform/ios/scripts/code-coverage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/scripts/code-coverage.sh')
-rwxr-xr-xplatform/ios/scripts/code-coverage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/scripts/code-coverage.sh b/platform/ios/scripts/code-coverage.sh
index 146bbeb1ce..17c9a5a439 100755
--- a/platform/ios/scripts/code-coverage.sh
+++ b/platform/ios/scripts/code-coverage.sh
@@ -17,7 +17,7 @@ cov=$(printf "%.2f" $(echo "$percentage*100" | bc -l))
# Create a formatted JSON file with the current coverage.
#
fileName="ios-coverage-$(TZ=UTC date +"%m-%d-%Y-%H%M")"
-cat <<EOF > $fileName.JSON
+cat <<EOF > $fileName.json
{ "current-coverage" : $cov }
EOF
echo $cov
@@ -32,4 +32,4 @@ rm -f output.json
if [ -z `which aws` ]; then
brew install awscli
fi
-aws s3 cp coverage.json s3://mapbox-loading-dock/raw/mobile.coverage/ --acl public-read \ No newline at end of file
+aws s3 cp $fileName.json s3://mapbox-loading-dock/raw/mobile.coverage/ --acl public-read \ No newline at end of file