Browse Source

Merge pull request 'Fix semantic versioning beta handling' (#363) from tobtoht/feather:fix_semver into master

Reviewed-on: feather/feather#363
master beta-7
tobtoht 6 months ago
parent
commit
be8a4d1841
  1. 4
      src/utils/SemanticVersion.h

4
src/utils/SemanticVersion.h

@ -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…
Cancel
Save