chaotic-aur / toolbox

Unified kit with all the scripts required for maintaining the repository 🧰
https://aur.chaotic.cx
GNU Affero General Public License v3.0
81 stars 11 forks source link

[Request] Update PKGBUILD version info of -git packages match last build #92

Open xiota opened 11 months ago

xiota commented 11 months ago

Would also be nice for packages with pkgver() to set pkgver, pkgrel, epoch to match the last build. That should allow bumps to work for -git packages.

The presence of pkgver() would be checked only. It does not have to be run. The problem with -git packages is pkgver and pkgrel often contain some old version that is updated by pkgver(), which prevents bumps from working.

dr460nf1r3 commented 11 months ago

Do you have proposed changes?

xiota commented 10 months ago

No proposed changes yet... But relevant section is probably:

https://github.com/chaotic-aur/toolbox/blob/21f0e5a024b3f23331430b155d54fca1142927f9/src/lib/interfere.sh#L143-L188