From 6518e00a31b0693a9c97f80eefaf704e0866bd79 Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Sun, 25 Aug 2024 21:46:11 +0200 Subject: [PATCH] Build script tweak and version bump --- build.php | 7 ++----- version.php | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/build.php b/build.php index 49adc22..e393c3d 100644 --- a/build.php +++ b/build.php @@ -37,6 +37,8 @@ $excludepaths = [ ".git", ".git/*", ".gitignore", + ".vscode", + ".vscode/*", "*.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(); chdir($parent); diff --git a/version.php b/version.php index 913cb4d..1d38301 100644 --- a/version.php +++ b/version.php @@ -23,13 +23,13 @@ defined('MOODLE_INTERNAL') || die(); $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->release = "1.3.2"; +$plugin->release = "1.3.3"; $plugin->maturity = MATURITY_STABLE; /*MATURITY_STABLE;*/ // Supported from Moodle 3.11 to 4.3. -$plugin->supported = [ 311, 404]; +$plugin->supported = [ 311, 403]; $plugin->dependencies = [ 'theme_boost' => 2019052001,