summaryrefslogtreecommitdiff
path: root/meta/classes/upstream-version-is-even.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/upstream-version-is-even.bbclass')
-rw-r--r--meta/classes/upstream-version-is-even.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/upstream-version-is-even.bbclass b/meta/classes/upstream-version-is-even.bbclass
index 89556ed7d4..99714cb100 100644
--- a/meta/classes/upstream-version-is-even.bbclass
+++ b/meta/classes/upstream-version-is-even.bbclass
@@ -2,4 +2,4 @@
# accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.)
# This scheme is used by Gnome and a number of other projects
# to signify stable releases vs development releases.
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"