Skip to content

Commit

Permalink
Moodle 4.4 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Apr 22, 2024
1 parent a3806f5 commit 3271c93
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ jobs:
moodle-branch: 'MOODLE_402_STABLE'
- php: '8.1'
moodle-branch: 'MOODLE_403_STABLE'
- php: '8.2'
moodle-branch: 'MOODLE_404_STABLE'

steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: plugin

Expand Down Expand Up @@ -68,9 +70,19 @@ jobs:
run: moodle-plugin-ci phpunit --fail-on-warning --coverage-text

- name: Behat tests
id: behat
if: ${{ !cancelled() }}
run: moodle-plugin-ci behat --profile chrome

- name: Behat failures
if: ${{ failure() && steps.behat.outcome == 'failure' }}
uses: actions/upload-artifact@v4
with:
name: Behat failures (${{ join(matrix.*, ', ') }})
path: ${{ github.workspace }}/moodledata/behat_dump
retention-days: 7
if-no-files-found: ignore

- name: Mark cancelled jobs as failed
if: ${{ cancelled() }}
run: exit 1
1 change: 1 addition & 0 deletions classes/version_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class version_helper {

/** @var array $branchdates See https://docs.moodle.org/dev/Releases */
protected static $branchdates = [
20240422 => '4.4',
20231009 => '4.3',
20230424 => '4.2',
20221128 => '4.1',
Expand Down
2 changes: 1 addition & 1 deletion lang/en/report_upgradelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$string['privacy:metadata'] = 'The Upgrade log plugin does not store any personal data';
$string['unknown'] = 'Unknown';
$string['upgrade'] = 'Upgrade';
$string['upgradelog:view'] = 'View upgrade log';
$string['upgrades'] = 'Upgrades';
$string['upgrades_help'] = 'This report lists all core Moodle upgrades that have been performed on this site';
$string['upgrades_link'] = 'https://docs.moodle.org/dev/Releases';
$string['upgradelog:view'] = 'View upgrade log';
3 changes: 2 additions & 1 deletion tests/version_helper_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @copyright 2019 Paul Holden <paulh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class version_helper_test extends advanced_testcase {
final class version_helper_test extends advanced_testcase {

/**
* Data provider for {@see test_get_version_string}
Expand Down Expand Up @@ -60,6 +60,7 @@ public function test_get_version_string(string $version, string $expected): void
*/
public static function get_release_name_provider(): array {
return [
['2024042200', '4.4'],
['2023100900', '4.3'],
['2023042400', '4.2'],
['2022112800', '4.1'],
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die;

$plugin->component = 'report_upgradelog';
$plugin->release = '4.3';
$plugin->version = 2023121100;
$plugin->release = '4.4';
$plugin->version = 2024042200;
$plugin->requires = 2022112800; // Moodle 4.1 onwards.
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 3271c93

Please sign in to comment.