Running Semantic Version Checker
Executing the Magento 2 Semantic Version Checker is a simple process, but it requires an external tool.
Running Semantic Version Checker on local changes
To run the Semantic Version Checker on local changes:
magento-semvertool to your local machine:
git clone firstname.lastname@example.org:magento/magento-semver.git
Navigate to the cloned repository and run
composer installto install the project dependencies:
cd magento-semver && composer install
To run the Semantic Version Checker, we need one folder with the feature changes and another folder with mainline code (without changes), so you may need to clone the Magento repository to a separate folder to perform the comparison.
magento-semverfolder and run the Semantic Version Checker compare command:
bin/svc compare ../magento2-mainline ../magento2
The first parameter is the mainline code without any changes, and the second parameter is the path to the folder with your changes. The results of the Semantic Version Checker are outputted to the console.