Debian build classification 'beta' cannot override 'release'.
authorIstván Váradi <ivaradi@varadiistvan.hu>
Sun, 12 Mar 2023 13:23:28 +0000 (14:23 +0100)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Tue, 14 Mar 2023 16:15:39 +0000 (17:15 +0100)
commit5dacf60fae55c96df16f36a0411fed1ce5971d5c
tree807c55f4ba51d2417b2763488c2126c729d18602
parent60968de50d315d6c37b70eff2a14ba6719c0a33e
Debian build classification 'beta' cannot override 'release'.

The Ubuntu/Debian build script classifies the built commit based
on the tags, if any, pointing to the commit. This classification
is used to determine the target PPA.

If no suitable tag points the commit, it will be an 'alpha'
build. If a tag of the format 'vA.B.C' points to the commit,
it will be a 'release' build, if the version is followed by
something, e.g. 'vA.B.C-rc1', it will be a 'beta' build.

The current classification fails if both a 'beta' and
a 'release' tag points to the commit, such as in case of
the recent v3.7.4 release, where the '-rc1' tag points to the
commit that was later released. It was deemed to be a 'beta'
build. This patch fixes this behaviour to build such commits
as 'release'es.

Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
admin/linux/debian/scripts/git2changelog.py