This commit is contained in:
Zach Borboa
2021-07-26 00:35:01 -04:00
parent 4353baa2f2
commit 6ceabf7293
9 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/php
<?php
require dirname(__FILE__) . '/../src/Curl/Curl.php';
require __DIR__ . '/../src/Curl/Curl.php';
$current_version = Curl\Curl::VERSION;
list($major, $minor, $patch) = explode('.', $current_version);
@@ -8,7 +8,7 @@ $new_version = implode('.', [$major, $minor, (string)((int)$patch += 1)]);
foreach ([
[
dirname(__FILE__) . '/../src/Curl/Curl.php',
__DIR__ . '/../src/Curl/Curl.php',
'/const VERSION = \'(?:\d+.\d+.\d+)\';/',
'const VERSION = \'' . $new_version . '\';',
],