From 15feac72971b83e6c1c485c8893dc6a37e8b995b Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Thu, 21 Apr 2022 21:13:47 -0500 Subject: [PATCH] Bump version to 22.4.0 --- LibreNMS/Util/Version.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LibreNMS/Util/Version.php b/LibreNMS/Util/Version.php index dccf21dd7016..85721d8e1ca6 100644 --- a/LibreNMS/Util/Version.php +++ b/LibreNMS/Util/Version.php @@ -33,7 +33,7 @@ class Version { // Update this on release - public const VERSION = '22.3.0'; + public const VERSION = '22.4.0'; /** * @var bool @@ -67,7 +67,7 @@ public function local(): string public function localCommit(): array { if ($this->is_git_install) { - [$local_sha, $local_date] = array_pad(explode('|', rtrim(`git show --pretty='%H|%ct' -s HEAD`), 2), 2, ''); + [$local_sha, $local_date] = explode('|', rtrim(`git show --pretty='%H|%ct' -s HEAD`)); return [ 'sha' => $local_sha,