summaryrefslogtreecommitdiff
path: root/meta/classes/upstream-version-is-even.bbclass
blob: 256c752423c607a1ca4f398325142a0cf828b874 (plain)
1
2
3
4
5
# 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"