From 7000ca0dbf03d7d06f6ccd51de2c5892f17b60e8 Mon Sep 17 00:00:00 2001 From: jmkiley Date: Fri, 1 Mar 2019 13:49:41 -0800 Subject: [ios] update file name --- platform/ios/scripts/code-coverage.sh | 4 ++-- 1 file 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 < $fileName.JSON +cat < $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 -- cgit v1.2.1