Edit in GitHubLog an issue

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:

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

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

    Copied to your clipboard
    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 GitHub repository to a separate folder to perform the comparison.

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

    Copied to your clipboard
    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.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.