Skip to content

Commit

Permalink
Prepare for 4.5.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 authored and matthewhilton committed Aug 9, 2024
1 parent 8a29b72 commit 59c0b03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/moodle-plugin-ci
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if (file_exists(__DIR__ . '/../../../autoload.php')) {
}

// Current version. Keep it updated on releases.
define('MOODLE_PLUGIN_CI_VERSION', '4.5.2');
define('MOODLE_PLUGIN_CI_VERSION', '4.5.3');

define('MOODLE_PLUGIN_CI_BOXED', '@is_boxed@');

Expand Down
9 changes: 5 additions & 4 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ title: Change log
---

All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
This project adheres to [Semantic Versioning](https://semver.org/).

The format of this change log follows the advice given at [Keep a CHANGELOG](http://keepachangelog.com).
The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com).

## [Unreleased]
## [4.5.3] - 2024-07-05
### Added
- Support for version 4.4 of the app, that uses new defaults and Chrome (Selenium 4) version.

### Changed
- Updated project dependencies to current [moodle-cs v3.4.10](https://github.com/moodlehq/moodle-cs) and [moodle-local_ci v1.0.31](https://github.com/moodlehq/moodle-local_ci) releases.


## [4.5.2] - 2024-06-19
### Changed
- Updated project dependencies to current [moodle-cs v3.4.9](https://github.com/moodlehq/moodle-cs) release.
Expand Down Expand Up @@ -725,7 +725,8 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
- `moodle-plugin-ci shifter` command. Run YUI Shifter on plugin YUI modules.
- `moodle-plugin-ci csslint` command. Lints the CSS files in the plugin.

[Unreleased]: https://github.com/moodlehq/moodle-plugin-ci/compare/4.5.2...main
[Unreleased]: https://github.com/moodlehq/moodle-plugin-ci/compare/4.5.3...main
[4.5.3]: https://github.com/moodlehq/moodle-plugin-ci/compare/4.5.2...4.5.3
[4.5.2]: https://github.com/moodlehq/moodle-plugin-ci/compare/4.5.1...4.5.2
[4.5.1]: https://github.com/moodlehq/moodle-plugin-ci/compare/4.5.0...4.5.1
[4.5.0]: https://github.com/moodlehq/moodle-plugin-ci/compare/4.4.5...4.5.0
Expand Down
5 changes: 2 additions & 3 deletions src/Installer/VendorInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,12 @@ public function installNode(): void
}

$nvmDir = getenv('NVM_DIR');
$cmd = ". $nvmDir/nvm.sh && nvm install && nvm use && echo \"NVM_BIN=\$NVM_BIN\"";

$cmd = "nvm ls";
$process = $this->execute->passThroughProcess(
Process::fromShellCommandline($cmd, $this->moodle->directory, null, null, null)
);
if (!$process->isSuccessful()) {
throw new \RuntimeException('Node.js installation failed.');
throw new \RuntimeException('nvm ls failed.');
}
// Retrieve NVM_BIN from initialisation output, we will use it to
// substitute right Node.js environment in all future process runs.
Expand Down

0 comments on commit 59c0b03

Please sign in to comment.