summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2019-03-01 13:49:41 -0800
committerjmkiley <jordan.kiley@mapbox.com>2019-03-11 12:54:48 -0700
commit7000ca0dbf03d7d06f6ccd51de2c5892f17b60e8 (patch)
treedeae8bc0960634df1f4e92320fe8c0492ab0dd24
parentddb576a23de37901761d6ca8f40dd4f841dda252 (diff)
downloadqtlocation-mapboxgl-7000ca0dbf03d7d06f6ccd51de2c5892f17b60e8.tar.gz
[ios] update file name
-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