summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/upstream-version-is-even.bbclass
blob: 19587cb12ca15917affbcd85c5b19f24b006a971 (plain)
1
2
3
4
5
6
7
8
9
10
11
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#

# This class ensures that the upstream version check only
# 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 = "[^\d\.](?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar"