mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
firmware: exclude revision to match release during hotfixes
This commit is contained in:
parent
79df42229b
commit
0d5d9f9ba9
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user