When bumping the version number of ExamSys there are two possible scenarios:
Major version change - This is when either of the first two parts of the ExamSys version number change, for example
7.6.1
to7.7.0
Minor version change - This is when only the third part of the version number changes, for example
7.6.1
to7.6.2
All version changes
When creating a new version of ExamSys you need to update the version in the /config/rogo.xml
file. This removes the need to update the version of ExamSys in 3 separate files as in previous versions of ExamSys.
config/rogo.xml
<?xml version="1.0"?> <rogo> <version>6.1.0</version> ... </rogo>
Once the upgrade / install script has been run this version number will also be present in /config/confing.inc.php (from 6.5.0 the version will be stored in the database rather than this file).
Major version changes only
When the major version of ExamSys changes we need to find and update the version number in some additional places:
Help files
npm package file
Help files
The About ExamSys page for each supported help language in the staff and student help. The SQL is located in install/staff_help.sql
and install/student_help.sql
npm package file
The package.json
file in the root directory of ExamSys has a version
field that should be updated to the new version number.