mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 03:16:35 +00:00
build/make-release: fix formatting
This commit is contained in:
parent
f3209ccc33
commit
d418dd7a09
@ -58,7 +58,7 @@ function replaceVersion(string $versionInfoPath, string $newVersion, bool $isDev
|
|||||||
);
|
);
|
||||||
$versionInfo = preg_replace(
|
$versionInfo = preg_replace(
|
||||||
'/^const IS_DEVELOPMENT_BUILD = (?:true|false);$/m',
|
'/^const IS_DEVELOPMENT_BUILD = (?:true|false);$/m',
|
||||||
'const IS_DEVELOPMENT_BUILD = ' . ($isDev ? 'true' : 'false'). ';',
|
'const IS_DEVELOPMENT_BUILD = ' . ($isDev ? 'true' : 'false') . ';',
|
||||||
$versionInfo
|
$versionInfo
|
||||||
);
|
);
|
||||||
file_put_contents($versionInfoPath, $versionInfo);
|
file_put_contents($versionInfoPath, $versionInfo);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user