diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2019-03-01 15:18:40 -0800 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2019-03-11 12:54:49 -0700 |
commit | 43d903725aa4cd4111068fc35bc240a204493273 (patch) | |
tree | c3334e34c664abb20c58ee66c4ff19224b967f2f | |
parent | 4a47ba094e8df7639ecb468ae2818e51817cdc05 (diff) | |
download | qtlocation-mapboxgl-43d903725aa4cd4111068fc35bc240a204493273.tar.gz |
[ios] lowercase variables
-rwxr-xr-x | platform/ios/scripts/code-coverage.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/ios/scripts/code-coverage.sh b/platform/ios/scripts/code-coverage.sh index 5984d83baf..21633224bb 100755 --- a/platform/ios/scripts/code-coverage.sh +++ b/platform/ios/scripts/code-coverage.sh @@ -16,12 +16,12 @@ 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 +file_name="ios-coverage-$(TZ=UTC date +"%Y-%m-%d-$CIRCLE_SHA1")" +cat <<EOF > $file_name.json { "current-coverage" : $cov } EOF echo $cov -echo $fileName +echo $file_name # Clean up files. rm -rf build/ios/ios/Logs/Test/*.xcresult/ rm -f output.json @@ -32,4 +32,4 @@ rm -f output.json if [ -z `which aws` ]; then brew install awscli fi -aws s3 cp $fileName.json s3://mapbox-loading-dock/raw/mobile.coverage/
\ No newline at end of file +aws s3 cp $file_name.json s3://mapbox-loading-dock/raw/mobile.coverage/
\ No newline at end of file |