diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2019-03-07 15:15:53 -0800 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2019-03-11 12:54:51 -0700 |
commit | de843e9361507b04b0aacab94d34a9bd97fb03c2 (patch) | |
tree | fef673a0287fb3f1d0b32c6add9bd321b6d1e03f /scripts/code-coverage.sh | |
parent | 9ae8eaa2bae9a690a5bc653d02022e367666cde8 (diff) | |
download | qtlocation-mapboxgl-de843e9361507b04b0aacab94d34a9bd97fb03c2.tar.gz |
[ios] Capitalization
Diffstat (limited to 'scripts/code-coverage.sh')
-rwxr-xr-x | scripts/code-coverage.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/code-coverage.sh b/scripts/code-coverage.sh index 84e4a52481..7448df71fd 100755 --- a/scripts/code-coverage.sh +++ b/scripts/code-coverage.sh @@ -7,8 +7,8 @@ set -o pipefail # Check whether the script input values are valid. # # Check that platform is "ios" or "android". -if [[ ! $2 = "ios" && ! $2 = "android" ]]; then - echo "$2 does not match either 'ios' or 'android'. Platform must be specified for coverage report." +if [[ ! $2 = "iOS" && ! $2 = "Android" ]]; then + echo "$2 does not match either 'iOS' or 'Android'. Platform must be specified for coverage report." exit 1 fi @@ -29,7 +29,7 @@ fi current_date=$(TZ=UTC date +"%Y-%m-%d") file_name=$2_coverage.json cat <<EOF > $file_name - {"code_coverage":$1,"platform":"$2","sdk":"maps","scheme":"$scheme","created_at":"$current_date"} + {"code_coverage":$1,"platform":"$2","sdk":"Maps","scheme":"$scheme","created_at":"$current_date"} EOF echo $file_name gzip -f $file_name |