Add blackfire to linux install

Add logging about install process

Fix formating of semversion blackfire

Only add version when needed

Pass phpversion
This commit is contained in:
Jaapio
2020-02-25 22:09:10 +01:00
parent 03fd0b8719
commit dc9461a053
6 changed files with 85 additions and 0 deletions

View File

@ -261,3 +261,14 @@ export async function suppressOutput(os_version: string): Promise<string> {
);
}
}
export async function getMinorVersion(version: string): Promise<string> {
const regex = /^\d+\.\d+/;
const match = version.match(regex);
if (match === null) {
return version;
}
return match[0];
}