diff --git a/lib/stages/prepare_old_install.sh b/lib/stages/prepare_old_install.sh index 1f42734..bb887da 100644 --- a/lib/stages/prepare_old_install.sh +++ b/lib/stages/prepare_old_install.sh @@ -12,12 +12,13 @@ _stage_prepare_old_install() { fi # Checkout the profile and get the version we want to upgrade from. + printf "Checking out ${DRUPAL_TESTING_UPGRADE_VERSION}\n\n" mkdir -p ${DRUPAL_TESTING_UPGRADE_DRUPAL_INSTALLATION_DIRECTORY} cp -R ${DRUPAL_TESTING_WORKSPACE}/. ${DRUPAL_TESTING_UPGRADE_DRUPAL_INSTALLATION_DIRECTORY} git -C ${DRUPAL_TESTING_UPGRADE_DRUPAL_INSTALLATION_DIRECTORY} fetch git -C ${DRUPAL_TESTING_UPGRADE_DRUPAL_INSTALLATION_DIRECTORY} checkout ${DRUPAL_TESTING_UPGRADE_VERSION} - printf "Prepare composer.json\n\n" + printf "Prepare composer.json to install version to upgrade from\n\n" # Build is based on drupal project composer create-project "${DRUPAL_TESTING_COMPOSER_PROJECT}":"${DRUPAL_TESTING_UPGRADE_COMPOSER_PROJECT_VERSION}" "${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}" --no-interaction --no-install diff --git a/lib/stages/prepare_upgrade.sh b/lib/stages/prepare_upgrade.sh index c4fa304..d0cf09c 100644 --- a/lib/stages/prepare_upgrade.sh +++ b/lib/stages/prepare_upgrade.sh @@ -10,6 +10,8 @@ _stage_prepare_upgrade() { exit 1 fi + printf "Prepare composer.json to upgrade to version under test\n\n" + # Add asset-packagist for projects, that require frontend assets if ! composer_repository_exists "https://asset-packagist.org"; then composer config extra."installer-types".0 bower-asset --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"