-
Task
-
Resolution: Fixed
-
Blocker
-
4.5
-
MOODLE_405_STABLE
-
MOODLE_405_STABLE
-
MDL-83309-main -
This task corresponds to point #3 of the 1 week prior release tasks.
It's achieved semi-automatically using the "versions_check_set.sh" script available in the local_ci plugin.
1) Create a working main instance local_ci plugin installed. Remove Composer's "vendor" directory and any non-core plugins if you're working on an existing instance.
2) Define and export all the env variables required by the script.
- $WORKSPACE: Path to the directory where test results will be sent (/tmp)
- $phpcmd: Path to the PHP CLI executable (e.g. /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 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 the "versions_check_set.sh" script. If there are errors, they will be reported, and fixing them will be necessary. (look for "ERROR" in the $WORKSPACE/versions_check_set.txt file and/or check the 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 may be necessary (to anything >= requires version).
7) Rerun the checker to verify that there are no errors, and no more changes are performed.
Note that the checker is also run periodically by the CI server and 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
- is a clone of
-
MDL-81549 Bump all versions, requires and dependencies near 4.4 release
-
- Closed
-