CRM-19417 - distmaker JSON report - Tighten ordering, fix typo
authorTim Otten <totten@civicrm.org>
Wed, 28 Sep 2016 03:53:20 +0000 (23:53 -0400)
committerTim Otten <totten@civicrm.org>
Wed, 28 Sep 2016 03:53:20 +0000 (23:53 -0400)
distmaker/utils/repo-report.php

index ef64012693d97a31caef6c762022171fbe41f4fa..91b6cf93b4ac5b7aca9c0446be809c0b9956eddf 100644 (file)
@@ -42,12 +42,14 @@ if (getenv('D5PACK')) {
   $data['tar']['Drupal'] = "civicrm-$DM_VERSION-drupal.tar.gz";
 }
 if (getenv('WPPACK')) {
-  $data['tar']['WordPresse'] = "civicrm-$DM_VERSION-wordpress.zip";
+  $data['tar']['WordPress'] = "civicrm-$DM_VERSION-wordpress.zip";
 }
 if (getenv('L10NPACK')) {
   $data['tar']['L10n'] = "civicrm-$DM_VERSION-l10n.tar.gz";
 }
 
 ksort($data);
+ksort($data['tar']);
+ksort($data['git']);
 $data['rev'] = md5(json_encode($data));
 echo json_encode($data);