fix: issue 292 New version alert was not displayed due to a semver regex issue. (#300)

This commit is contained in:
Christian Visintin
2024-10-14 10:43:47 +02:00
committed by GitHub
parent 7eb913ec7b
commit c05ef32270
4 changed files with 11 additions and 2 deletions

View File

@@ -85,6 +85,7 @@ impl Update {
/// In case received version is newer than current one, version as Some is returned; otherwise None
fn check_version(r: Release) -> Option<Release> {
debug!("got version from GitHub: {}", r.version);
match parse_semver(r.version.as_str()) {
Some(new_version) => {
// Check if version is different