Skip to content

Commit

Permalink
[TASK] Ensure composer update installs the highest possible packages
Browse files Browse the repository at this point in the history
By unsetting the PHP version in config platform.php, we ensure the
highest possible packages for the currently available PHP version are installed.

Resolves: #92335
Related: #92251
Releases: master, 10.4
Change-Id: Id6359014aa950bd65622e7fd8dac26313a6778c5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65754
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
  • Loading branch information
maddy2101 authored and andreaskienast committed Oct 20, 2020
1 parent 018af11 commit 9426f9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Build/bamboo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.atlassian.bamboo</groupId>
<artifactId>bamboo-specs-parent</artifactId>
<version>6.10.4</version>
<version>7.1.2</version>
<relativePath/>
</parent>

Expand Down
1 change: 1 addition & 0 deletions Build/bamboo/src/main/java/core/AbstractCoreSpec.java
Original file line number Diff line number Diff line change
Expand Up @@ -1739,6 +1739,7 @@ Task getTaskComposerUpdateMax(String requirementIdentifier) {
.inlineBody(
this.getScriptTaskBashInlineBody() +
this.getScriptTaskComposer(requirementIdentifier) +
"composer config --unset platform.php \n" +
"composer update --no-progress --no-suggest --no-interaction"
)
.environmentVariables(this.composerRootVersionEnvironment);
Expand Down

0 comments on commit 9426f9d

Please sign in to comment.