moodle find version code example
Example: moodle current version find
Inside /version.php near the end of the file you will find something like that
$release = '3.5.7+ (Build: 20190830)'; // Human-friendly version name
The version in this case is "3.5.7"