Semantic Version Checker
Executing the Semantic Version Checker is a simple process, but it requires an external tool.
Run on local changes
To run the Semantic Version Checker on local changes:
Clone the
magento-semver
tool to your local machine:Copied to your clipboardgit clone git@github.com:magento/magento-semver.gitNavigate to the cloned repository and run
composer install
to install the project dependencies:Copied to your clipboardcd magento-semver && composer installTo 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 GitHub repository to a separate folder to perform the comparison.
Navigate the
magento-semver
folder and run the Semantic Version Checker compare command:Copied to your clipboardbin/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.