From e4435ae2b7053ce23b6bee4b1add0cce8fc69fae Mon Sep 17 00:00:00 2001 From: ScottVerbeek Date: Tue, 2 Jan 2024 11:53:20 +1000 Subject: [PATCH] Update version --- .github/workflows/ci.yml | 3 +++ .github/workflows/moodle-release.yml | 22 ---------------------- version.php | 8 ++++---- 3 files changed, 7 insertions(+), 26 deletions(-) delete mode 100644 .github/workflows/moodle-release.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78779d4..1fcb5ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,10 @@ on: [push, pull_request] jobs: ci: uses: catalyst/catalyst-moodle-workflows/.github/workflows/ci.yml@main + secrets: + moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }} with: extra_plugin_runners: 'moodle-plugin-ci add-plugin catalyst/moodle-local_aws' disable_grunt: true disable_phpcpd: true + release_branches: MOODLE_402_STABLE diff --git a/.github/workflows/moodle-release.yml b/.github/workflows/moodle-release.yml deleted file mode 100644 index 4216544..0000000 --- a/.github/workflows/moodle-release.yml +++ /dev/null @@ -1,22 +0,0 @@ -# -# Whenever version.php is changed, add the latest version -# to the Moodle Plugins directory at https://moodle.org/plugins -# -name: MOODLE_310_STABLE - Releasing in the Plugins directory - -on: - push: - branches: - - MOODLE_310_STABLE - paths: - - 'version.php' - -jobs: - workflow_group_310_plus_release: - uses: catalyst/catalyst-moodle-workflows/.github/workflows/group-310-plus-release.yml@main - with: - plugin_name: search_elastic - extra_plugin_runners: 'moodle-plugin-ci add-plugin catalyst/moodle-local_aws' - disable_grunt: true - secrets: - moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }} diff --git a/version.php b/version.php index d5c901c..6dab75e 100644 --- a/version.php +++ b/version.php @@ -24,12 +24,12 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2023092000; -$plugin->release = '4.1 Build (2023012400)'; // Build same as version. -$plugin->requires = 2016052304; +$plugin->version = 2023042405; +$plugin->release = '4.2.5 (Build: 20231222)'; // Build same as version. +$plugin->requires = 2023042405; $plugin->component = 'search_elastic'; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = array( 'local_aws' => 2023010900, ); -$plugin->supported = [310, 402]; // A range of branch numbers of supported moodle versions. +$plugin->supported = [402, 403]; // A range of branch numbers of supported moodle versions.