nextcloud-native-bin: correct the prerelease sorting note
vercmp sorts 0.1.0alpha.2 older than a later plain 0.1.0, so the prereleases upgrade on their own and no epoch bump is needed.
This commit is contained in:
1 parent
fcea8c2832
commit
f56ad82386
1 file changed
+4
-3
@@ -12,9 +12,10 @@
|
|||||||
# the versioned "v*" tags are packaged; nightlies would push several AUR
|
# the versioned "v*" tags are packaged; nightlies would push several AUR
|
||||||
# updates a day and cannot be checksummed reliably.
|
# updates a day and cannot be checksummed reliably.
|
||||||
#
|
#
|
||||||
# pkgver drops the hyphen from the tag (v0.1.0-alpha.2 -> 0.1.0alpha.2). That
|
# pkgver drops the hyphen from the tag (v0.1.0-alpha.2 -> 0.1.0alpha.2).
|
||||||
# sorts newer than a later plain 0.1.0, so the first stable release of a
|
# pacman sorts that older than a later plain 0.1.0 (`vercmp 0.1.0alpha.2 0.1.0`
|
||||||
# version that was packaged as a prerelease needs an epoch bump.
|
# is -1, the trailing alphabetic segment loses), so the prereleases upgrade to
|
||||||
|
# the eventual stable release on their own and no epoch is needed.
|
||||||
|
|
||||||
UPSTREAM_REPO="Obiente/nc-native"
|
UPSTREAM_REPO="Obiente/nc-native"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user