mirror of
https://github.com/icewind1991/nextcloud-version-matrix.git
synced 2026-06-03 09:34:12 +02:00
Merge pull request #2 from SystemKeeper/extend-informations
chore(log): Log why a PHP version was skipped/used
This commit is contained in:
commit
578c7d7935
1 changed files with 6 additions and 0 deletions
|
|
@ -165,9 +165,11 @@ function copy(obj) {
|
|||
version = parseFloat(version.toFixed(1));
|
||||
if (await isPhpVersionReleased(version)) {
|
||||
php.push(version.toFixed(1));
|
||||
console.log(`Release for PHP Version ${version.toFixed(1)} exists`);
|
||||
} else {
|
||||
// no more minors for this major
|
||||
version = Math.ceil(version) - 0.1;
|
||||
console.log(`No release for PHP Version ${version.toFixed(1)} exists -> skipping`);
|
||||
}
|
||||
}
|
||||
php.sort();
|
||||
|
|
@ -178,6 +180,10 @@ function copy(obj) {
|
|||
if (await distroSupportsPhpVersion(version)) {
|
||||
distroPhp.push(version)
|
||||
availablePhp = version;
|
||||
|
||||
console.log(`Install candidates for PHP Version ${version.toFixed(1)} found`);
|
||||
} else {
|
||||
console.log(`No install candidates for PHP version ${version.toFixed(1)} found -> skipping`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue