Skip to content

Commit

Permalink
Update to Composer 2.3.4
Browse files Browse the repository at this point in the history
Fixes regression in Composer script listing (composer/composer#10710)
  • Loading branch information
coudenysj committed Apr 8, 2022
1 parent 1530875 commit d7968cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
command: |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === file_get_contents('https://composer.github.io/installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.3.3
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.3.4
rm composer-setup.php
- checkout
- run:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,11 @@
# heroku-buildpack-php CHANGELOG

## v215 (2021-04-08)

### CHG

- Composer/2.3.4 [Jachim Coudenys]

## v214 (2021-04-04)

### ADD
Expand Down
2 changes: 1 addition & 1 deletion bin/compile
Expand Up @@ -232,7 +232,7 @@ curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/php-min.tar.gz
tar xzf $build_dir/.heroku/php-min.tar.gz -C $build_dir/.heroku/php-min
rm $build_dir/.heroku/php-min.tar.gz

curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/composer.tar.gz "${s3_url}composer-2.3.3.tar.gz" || {
curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/composer.tar.gz "${s3_url}composer-2.3.4.tar.gz" || {
mcount "failures.bootstrap.download.composer"
error <<-EOF
Failed to download Composer for bootstrapping!
Expand Down

0 comments on commit d7968cd

Please sign in to comment.