Files
craft-common-actions/tests
g1obalworlds ff3c35789a arch-package: keep a prerelease version instead of packaging it as 0.0.0
The tarball-name pattern allowed no hyphen in the version, so a prerelease
(photocraft-0.2.0-rc.1-linux-x86_64.tar.gz) did not match and fell back to
version 0.0.0: the draft release got photocraft-0.0.0-linux-x86_64.pkg.tar.zst
with pkgver=0.0.0. Accept the prerelease and drop its hyphens from pkgver
(0.2.0rc.1, which pacman sorts before 0.2.0). A numeric prerelease gets a
letter in front (1.2.3-1 is 1.2.3pre1), since 1.2.31 would sort after 1.2.4.
This also drops the pkgrel-from-suffix branch, which the old pattern made
unreachable and which would have turned 0.2.0-rc.1 into pkgver 0.2.0.
2026-10-26 17:25:46 -07:00
..