Skip to content

Commit bbfb4ee

Browse files
authored
ci: update kernel version replacement logic (#958)
1 parent bb75e81 commit bbfb4ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ function bumpKernelVersion(string $version): void
3131
{
3232
$kernel = __DIR__ . '/../src/Tempest/Core/src/Kernel.php';
3333
$content = preg_replace(
34-
pattern: '/public const VERSION = \'.*\';/',
35-
replacement: "public const VERSION = '{$version}';",
34+
pattern: '/public const string VERSION = \'.*\';/',
35+
replacement: "public const string VERSION = '{$version}';",
3636
subject: file_get_contents($kernel),
3737
);
3838

0 commit comments

Comments
 (0)