Adobe Commerce 2.3 reached end of support in September 2022.

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:

  1. Clone the magento-semver tool to your local machine:

    1
    
    git clone git@github.com:magento/magento-semver.git
    
  2. Navigate to the cloned repository and run composer install to install the project dependencies:

    1
    
    cd magento-semver && composer install
    
  3. 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.

  4. Navigate the magento-semver folder and run the Semantic Version Checker compare command:

    1
    
    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.