set-version.php - Autocommit changes for version.json
authorTim Otten <totten@civicrm.org>
Tue, 12 Dec 2023 17:14:39 +0000 (09:14 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 12 Dec 2023 17:14:39 +0000 (09:14 -0800)
tools/bin/scripts/set-version.php

index 7f01e65332062e00ce633a4e142a1d030f6e18e2..af16826e3859697b85c937f9ebca352f9c184c8c 100755 (executable)
@@ -112,7 +112,7 @@ foreach ($infoXmls as $infoXml) {
 
 if ($doCommit) {
   $files = array_filter(
-    array_merge(['xml/version.xml', 'sql/civicrm_generated.mysql', 'sql/test_data_second_domain.mysql', $phpFile, $sqlFile], $infoXmls),
+    array_merge(['xml/version.xml', 'js/version.json', 'sql/civicrm_generated.mysql', 'sql/test_data_second_domain.mysql', $phpFile, $sqlFile], $infoXmls),
     function($file) {
       return $file && file_exists($file);
     }