Skip to content

Instantly share code, notes, and snippets.

@jibran
Last active January 2, 2020 09:30
Show Gist options
  • Save jibran/dd8ac842a239d6a2dc7af80bd69eb19f to your computer and use it in GitHub Desktop.
Save jibran/dd8ac842a239d6a2dc7af80bd69eb19f to your computer and use it in GitHub Desktop.
Steps to update Drupal core dependencies
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
@jibran
Copy link
Author

jibran commented Jan 2, 2020

Changes since 8.8.x

COMPOSER_ROOT_VERSION=8.8.x-dev composer update symfony/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment