Skip to content

Commit

Permalink
firmware: limit changelog check to non-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jul 14, 2022
1 parent fb892d2 commit aaaf842
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/www/widgets/api/plugins/system.inc
Expand Up @@ -174,7 +174,8 @@ function system_api_firmware()
$current = explode('_', $product['product_version'])[0];

/* information from changelog, more accurate for production release */
$from_changelog = !empty($product['product_latest']) &&
$from_changelog = strpos($product['product_id'], '-devel') === false &&
!empty($product['product_latest']) &&
$product['product_latest'] != $current;

/* update status from last check, also includes major releases */
Expand Down

0 comments on commit aaaf842

Please sign in to comment.