Skip to content

Commit

Permalink
Generate install.php after composer version switch
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Apr 20, 2022
1 parent 8012d0a commit 1f1e614
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/phar_build_and_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 2 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1f1e614

Please sign in to comment.