Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow self update to specific version #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

desbouis
Copy link
Member

Description

The feature allowing to update composer itself already exists but only to the latest version of a major branch.
With this PR, this self-update feature can now update composer to a specific version if defined in composer_version variable (last version by default).
This allows to pin and better control the composer version installed.

@desbouis desbouis added the enhancement New feature or request label Nov 29, 2021
COMPOSER_ALLOW_SUPERUSER=1 {{ php_executable }} {{ composer_path }} --version | cut -f3 -d" "
args:
executable: /bin/bash
failed_when: false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

le failed_when est inutile ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants