Commit graph

12 commits

Author SHA1 Message Date
István Váradi
c1cee5b6df Fix release kind detection
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2024-08-27 15:50:02 +02:00
István Váradi
5dacf60fae 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>
2023-03-14 17:15:39 +01:00
István Váradi
3d9d5f2fe7 Handle the case when the release version differs from that in VERSION.cmake
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-11-30 15:33:34 +01:00
István Váradi
46c1d7f298 Allow specifying the base commit and version in the configuration file
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-04-27 19:20:30 +02:00
István Váradi
7b2de328a2 Change Debian build to the new more Debian-y way
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-04-27 19:19:04 +02:00
István Váradi
5d2e99d15c Generate alpha, beta and stable versions
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-03-24 19:06:16 +01:00
István Váradi
19a58ed9c8 Generate more unique and ordered version numbers for Debian builds
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-03-24 19:06:07 +01:00
cclauss
b34ed01109 Use print() function in both Python 2 and Python 3
Signed-off-by: cclauss <cclauss@me.com>
2020-03-05 11:35:30 +01:00
István Váradi
d6ab7920d9 Fix the Debian changelog generator
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2019-07-25 16:48:24 +02:00
István Váradi
5a26e7dabe Use the tags to determine if a version is a release or a beta one 2018-11-13 16:42:42 +01:00
István Váradi
dec5473eec
The version is also read from the VERSION.cmake file 2018-07-03 09:11:31 +02:00
István Váradi
d2e159c385 Automatic building of Ubuntu/Debian packages 2017-12-12 17:11:46 +01:00