SolidCharity / LightBuildServer

LightBuildServer for building rpm and deb packages and running CI scripts, using linux containers
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

increase release number for copr builds #180

Closed tpokorra closed 7 years ago

tpokorra commented 7 years ago

I have a suspicion that copr does not use the latest built package if the release number does not change.

solution: before building the srpm on LBS, we need to check for the latest package already built. If it has the same version number, increase the release number. If the release is a concatenated number, only increase the first part of it (eg. 0.20160111.git%{?dist} should become 1.20160111.git%{?dist})