From 1f1e614b02e660cd98a0ef0c027630ffea20a031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=BCnch?= Date: Wed, 20 Apr 2022 10:52:05 +0200 Subject: [PATCH] Generate install.php after composer version switch --- .github/workflows/phar_build_and_update.yml | 1 - build.sh | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/phar_build_and_update.yml b/.github/workflows/phar_build_and_update.yml index 62b73ae9b..c0dc97823 100644 --- a/.github/workflows/phar_build_and_update.yml +++ b/.github/workflows/phar_build_and_update.yml @@ -53,7 +53,6 @@ jobs: - name: Test self-update command run: php ./n98-magerun2.phar self-update --unstable - # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" # Docs: https://getcomposer.org/doc/articles/scripts.md diff --git a/build.sh b/build.sh index 88e58f79b..7e43e4a0a 100755 --- a/build.sh +++ b/build.sh @@ -75,9 +75,8 @@ function create_new_phar() { # which will then create a no reproducable phar file with a differenz MD5 $COMPOSER_BIN config autoloader-suffix N98MagerunNTS - # Required for some Github Action edge cases where the file vendor/composer/installed.php - # could not be found if previous Magerun installation was done with Composer 1 - $COMPOSER_BIN dump-autoload + # Run install again to get the latest install.php and install.json file + $COMPOSER_BIN install $PHP_BIN $BOX_BIN compile