Last active
January 2, 2020 09:30
-
-
Save jibran/dd8ac842a239d6a2dc7af80bd69eb19f to your computer and use it in GitHub Desktop.
Steps to update Drupal core dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone --branch 8.6.x https://git.drupal.org/project/drupal.git | |
cd drupal | |
composer config platform.php 5.5.9 | |
composer install | |
composer outdated -D | |
// Choose the packages to update. Let's say we want to update symfony packages. | |
composer update symfony/* | |
composer config --unset platform | |
composer update --lock | |
git add composer.lock | |
// Hack core and check the changes into index | |
git diff --cached > issue_id-comment_id.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changes since 8.8.x
COMPOSER_ROOT_VERSION=8.8.x-dev composer update symfony/*