Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
3.3.x-dev
-
None
Description
The ibexa:setup tool should use the X.Y.0 directory when installing for X.Y.0 series, X.Y is used instead.
Steps to reproduce:
1. Install Ibexa OSS 3.0.0*
2. In vendor/ibexa/post-install/resources/platformsh/ibexa-oss/ create a 3.3.0 directory
3. In vendor/ibexa/post-install/resources/platformsh/ibexa-oss/3.3.0/ create an empty file
3. Run composer ibexa:setup --platformsh
Expected:
The empty file is copied to the root directory of the project
Actual:
The file is not copied. Files from 3.3 directory are copied instead.
*If you can't install 3.0.0 you can modify the vendor/composer/InstalledVersions.php file to fool Composer, for example:
'ibexa/oss' => [ 'pretty_version' => '3.3.0', 'version' => '3.3.0', 'aliases' => [ ], 'reference' => '86757ca30bd91055cb4b6bdb905bd74c934f77df', ],