mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-17 09:47:36 +00:00
Fix semantic versioning beta handling
This commit is contained in:
parent
f92aaa861c
commit
c5e200ea06
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ struct SemanticVersion
|
|||
static SemanticVersion fromString(const QString &ver) {
|
||||
SemanticVersion version;
|
||||
|
||||
if (ver.contains("Beta")) {
|
||||
QRegularExpression verRe("Beta-(?<minor>\\d+)");
|
||||
if (ver.contains("beta")) {
|
||||
QRegularExpression verRe("beta-(?<minor>\\d+)");
|
||||
QRegularExpressionMatch match = verRe.match(ver);
|
||||
version.minor = match.captured("minor").toInt();
|
||||
return version;
|
||||
|
|
Loading…
Reference in a new issue