firmware: exclude revision to match release during hotfixes

This commit is contained in:
Franco Fichtner 2022-03-25 15:13:48 +01:00
parent 79df42229b
commit 0d5d9f9ba9

View File

@ -30,6 +30,7 @@
$changelogfile = '/usr/local/opnsense/changelog/index.json';
list ($series, $version) = explode(' ', trim(shell_exec('opnsense-version -Vv')));
$version = explode('_', $version)[0];
$ret = json_decode(@file_get_contents($changelogfile), true);
if ($ret != null) {