fix(composer): use php-prebuild tags for composer php (#23870)

This commit is contained in:
Rhys Arkins 2023-08-15 10:10:30 +02:00 committed by GitHub
parent 03cb407723
commit 6699320682
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 8 deletions

View file

@ -8,8 +8,7 @@ exports[`modules/manager/composer/extract extractPackageFile() extracts dependen
"datasource": "github-tags", "datasource": "github-tags",
"depName": "php", "depName": "php",
"depType": "require", "depType": "require",
"extractVersion": "^php-(?<version>.*)$", "packageName": "containerbase/php-prebuild",
"packageName": "php/php-src",
}, },
{ {
"currentValue": "*", "currentValue": "*",
@ -222,8 +221,7 @@ exports[`modules/manager/composer/extract extractPackageFile() extracts dependen
"datasource": "github-tags", "datasource": "github-tags",
"depName": "php", "depName": "php",
"depType": "require", "depType": "require",
"extractVersion": "^php-(?<version>.*)$", "packageName": "containerbase/php-prebuild",
"packageName": "php/php-src",
}, },
{ {
"currentValue": "*", "currentValue": "*",

View file

@ -86,8 +86,7 @@ describe('modules/manager/composer/extract', () => {
datasource: 'github-tags', datasource: 'github-tags',
depName: 'php', depName: 'php',
depType: 'require', depType: 'require',
extractVersion: '^php-(?<version>.*)$', packageName: 'containerbase/php-prebuild',
packageName: 'php/php-src',
}, },
{ {
currentValue: '~1.0.12', currentValue: '~1.0.12',

View file

@ -272,8 +272,7 @@ export const ComposerExtract = z
depName, depName,
currentValue, currentValue,
datasource: GithubTagsDatasource.id, datasource: GithubTagsDatasource.id,
packageName: 'php/php-src', packageName: 'containerbase/php-prebuild',
extractVersion: '^php-(?<version>.*)$',
}); });
continue; continue;
} }