cbrunnkvist / ansistrano-symfony-deploy

Common post-deploy tasks for Symfony projects, using ansistrano (a Capistrano-style Ansible role)
MIT License
68 stars 26 forks source link

composer self-update non stable version #30

Closed revilon1991 closed 4 years ago

revilon1991 commented 4 years ago

Hello. I'm deploy my project and get error `Problem 1

It's because composer have version Composer version 2.0-dev (2.0-dev+d34ea60c488ad62e7944eac3d3e768b449ae767a) 2020-04-07 11:09:22

jean85/pretty-package-versions 1.4.2 can't work with composer-plugin-api 2.0.0

I'm try remove composer.phar, but deploy instruction still download dev version composer

How configure download version composer?

scuben commented 4 years ago

Possible solution working on: https://github.com/cbrunnkvist/ansistrano-symfony-deploy/pull/31

bcodp commented 4 years ago

@scuben it may be a good idea to have a variable to specify a composer version and by default to download the stable version no ?

scuben commented 4 years ago

Problem is solved with the newest released version 1.4.0.

@bcodp yes that sounds like a good idea. Can you create a PR?