-
Task
-
Resolution: Fixed
-
Minor
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-81549-main -
This task corresponds to point #3 of:
https://moodledev.io/general/development/process/release#1-week-prior
And it's achieved in a semi-automated way with the "versions_check_set.sh" script available @ https://github.com/moodlehq/moodle-local_ci/blob/master/versions_check_set/versions_check_set.sh
1) In a git, working, dev branch to be released site with the ci local plugin installed. Note that you may need to completely remove Composer's "vendor" directory and any non-core plugin.
2) Define and export all the env variables required by the script.
- $WORKSPACE: Path to the directory where test reults will be sent (/tmp)
- $phpcmd: Path to the PHP CLI executable (/usr/bin/php)
- $gitdir: Directory containing git repo (the dirroot of the git, working site)
- $setversion: 10digits (YYYYMMDD00) to set all versions to. Empty = not set. Since Moodle 2.7 it has been agreed to perform the bump to the planned release version. For easier automated checks later in stable-land.
- $setrequires: 10 digits (YYYYMMDD00) to set all required values. Empty = default to $setversion. Since Moodle 2.7, it has been agreed to perform the required bump to the current master version (usually an RC one).
3) Run it. With errors, they will be reported and fixing will be necessary. (look for ERROR in the $WORKSPACE/versions_check_set.txt file and/or check exit status of the script)
4) Without errors, all the versions, requires and dependencies will be bumped.
5) Commit
6) Note that the main version file is NOT updated at all. One extra commit bumping it may be necessary (to anything >= requires version).
7) Run the checker again to verify that there are no errors and no more changes are performed.
Note the checker is also run periodically by the ci server and also as part of the "remote_branch_checker", so normally all the version.php files should be under control.
(This issue will be cloned for each major release).
Ciao
- has a clone
-
MDL-83309 Bump all versions, requires and dependencies near the 4.5 release
-
- Closed
-
- has been marked as being related by
-
MDL-81303 mfa_factor_token version in core is lower than the third party plugin
-
- Closed
-
- is a clone of
-
MDL-79551 Bump all versions, requires and dependencies near 4.3 release
-
- Closed
-