Build script tweak and version bump

This commit is contained in:
PMKuipers 2024-08-25 21:46:11 +02:00
parent d5b8d8993a
commit 6518e00a31
2 changed files with 5 additions and 8 deletions

View File

@ -37,6 +37,8 @@ $excludepaths = [
".git", ".git",
".git/*", ".git/*",
".gitignore", ".gitignore",
".vscode",
".vscode/*",
"*.zip", "*.zip",
]; ];
@ -61,11 +63,6 @@ if (!is_dir($builddir)) {
} }
} }
if (file_exists($zipname)) {
print("Zip file '{$zipname}' already exists. Exiting...\n");
exit(1);
}
$cwd = getcwd(); $cwd = getcwd();
chdir($parent); chdir($parent);

View File

@ -23,13 +23,13 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
$plugin->component = 'local_treestudyplan'; // Recommended since 2.0.2 (MDL-26035). Required since 3.0 (MDL-48494). $plugin->component = 'local_treestudyplan'; // Recommended since 2.0.2 (MDL-26035). Required since 3.0 (MDL-48494).
$plugin->version = 2024082000; // YYYYMMDDHH (year, month, day, iteration). $plugin->version = 2024082400; // YYYYMMDDHH (year, month, day, iteration).
$plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11). $plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11).
$plugin->release = "1.3.2"; $plugin->release = "1.3.3";
$plugin->maturity = MATURITY_STABLE; /*MATURITY_STABLE;*/ $plugin->maturity = MATURITY_STABLE; /*MATURITY_STABLE;*/
// Supported from Moodle 3.11 to 4.3. // Supported from Moodle 3.11 to 4.3.
$plugin->supported = [ 311, 404]; $plugin->supported = [ 311, 403];
$plugin->dependencies = [ $plugin->dependencies = [
'theme_boost' => 2019052001, 'theme_boost' => 2019052001,