Commit:    f4dfa851e2ebdab70352658a40e006f3d7b106d4
Author:    Sara Golemon <[email protected]>         Thu, 7 Jan 2021 18:22:36 +0000
Parents:   527e1f4a06f95251e3264d696145f11f70c25843
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=f4dfa851e2ebdab70352658a40e006f3d7b106d4

Log:
Allow bin/bumpReleases to work with new major versions

Changed paths:
  M  bin/bumpRelease


Diff:
diff --git a/bin/bumpRelease b/bin/bumpRelease
index 68fcd7454..2c0009a52 100755
--- a/bin/bumpRelease
+++ b/bin/bumpRelease
@@ -30,7 +30,7 @@ if (is_bool($info["announcement"]) && $info["announcement"]) {
 
 $OLDRELEASES[$major] = array_merge(
        array($version => $info),
-       $OLDRELEASES[$major]
+       $OLDRELEASES[$major] ?? []
 );
 
 file_put_contents(__DIR__ . "/../include/releases.inc", [


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to