-
Notifications
You must be signed in to change notification settings - Fork 153
Release
Marc Ginesta edited this page Feb 17, 2022
·
14 revisions
- Increment the version in
composer.json
- Run
composer update magento/magento-coding-standard
to update thecomposer.lock
- Open a PR and merge it to develop branch
- Merge develop to
master
branch - Create a new release on Github
- Ensure the new version is available in packagist
- 📢 Notify the #coding-standard channel (from the Magento Open Source workspace)
- Update
composer.json
frommagento-api-index
,mray
anduct
pointing to the new magento-coding-standard version - Open a PR (for each repo) and merge it to develop
- Update
composer.lock
formagento-commerce/magento2ce
andmagento-commerce/magento2ee
- Open a PR (for both repos) and run tests
@magento run all tests
- ☑️ Make sure that all tests are green 🟢 Specifically, we need Static tests to be green
The following instructions work for both magento2ce
and magento2ee
- Get the latest changes from develop branch
git pull origin 2.4-develop
([email protected]:magento-commerce/magento2*e.git) - Assuming that you have already merged your changes to develop, update
composer.json
file as follows:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/magento/magento-coding-standard"
}
],
"require": {
"magento/magento-coding-standard": "dev-develop"
}
}
- Open a PR (for both repos) and run tests using
@magento run all tests
- If static tests fail 🔴 , then you need to perform changes in your code and you should not merge changes to
master
branch - If tests all tests are green 🟢 (specifically, we need Static tests to be green) you can proceed:
- Merge develop to
master
branch - Create a new release on Github
- Ensure the new version is available in packagist
- 📢 Notify the #coding-standard channel (from the Magento Open Source workspace)
- Update
composer.json
frommagento-api-index
,mray
anduct
pointing to the new magento-coding-standard version - Open a PR (for each repo) and merge it to develop
- Update
composer.lock
formagento-commerce/magento2ce
andmagento-commerce/magento2ee
- Open a PR (for both repos) and run tests
@magento run all tests
- ☑️ Make sure that all tests are green 🟢 Specifically, we need Static tests to be green