Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})

* Improved composer install script to default to latest stable
* Fixed `mysqldump` warning for unknown option on MariaDB 11.4/11.8 [#237](https://github.com/lando/php/issues/237)
* Updated to [@lando/nginx@1.6.0](https://github.com/lando/nginx/releases/tag/v1.6.0)

Expand Down
4 changes: 3 additions & 1 deletion scripts/install-composer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ elif [ "$VERSION" = 'preview' ]; then
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer --preview
elif [ "$VERSION" = 'snapshot' ]; then
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer --snapshot
else
elif [ -n "$VERSION" ]; then
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer --version="$VERSION"
else
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer
fi

# Remove the setup script
Expand Down
Loading