You are not logged in.

#1 2017-09-05 19:42:49

zebulon
Member
Registered: 2008-10-20
Posts: 358

[SOLVED] Version number not correctly bumped

Hi, I am the maintainer of https://aur.archlinux.org/packages/rtl8 … -dkms-git/. This afternoon I pushed a new version, with an incremented pkgver number. Although the file is correctly shown in logs, and that people are able to install it, the AUR page (and API) still shows the old version. Am I doing anything wrong?

Last edited by zebulon (2017-09-05 19:49:34)

Offline

#2 2017-09-05 19:44:40

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,860
Website

Re: [SOLVED] Version number not correctly bumped


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-09-05 19:46:56

zebulon
Member
Registered: 2008-10-20
Posts: 358

Re: [SOLVED] Version number not correctly bumped

Thanks a lot for your fast answer.

Offline

#4 2017-09-06 21:54:17

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Version number not correctly bumped

Also see my sig for a good way to handle this automatically. smile

Also, as that package is a *-git package which builds from the current git HEAD of a repository branch, you need to include a pkgver() function to describe the version you are building.

e.g. for a repo without tags,

pkgver() {
    cd rtl8812au
    printf '%s.r%s.g%s' '5.2.9' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

Last edited by eschwartz (2017-09-06 22:01:14)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2017-09-15 15:02:09

zebulon
Member
Registered: 2008-10-20
Posts: 358

Re: [SOLVED] Version number not correctly bumped

Thanks a lot for the tip.

Offline

Board footer

Powered by FluxBB