Re: Nightly builds of DNF available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/30/2014 10:38 AM, Stanislav Ochotnicky wrote:
> Radek Holy <rholy@xxxxxxxxxx> writes:
> 
>> I have just added the metadata creation. Good point, thank you.
> 
> Another thing worth mentioning: The release tags of those rpms are
> incorrect.
> 
> Instead of:
> dnf-0.4.12-1.git3584018.fc20
> It should be:
> dnf-0.4.12-0.1.git3584018.fc20
> 
> That way when 0.4.12 is actually released the dnf-0.4.12-1 will be
> higher than those older nightlies. By that time the nightlies should
> have higher version so no problems there either.

In order to have proper versioning release tag should also be increased
in consecutive builds.

One way to achieve this is:

RELEASE=$(git describe --match="[^(jenkins)].*" --tags | sed
's/[^-]*-/0./;s/-/./;s/g/git/')
sed -i "s/^Release:\s\+[0-9.]*%{?dist}$/Release: ${RELEASE}/" *.spec

-- 
Mikolaj Izdebski
IRC: mizdebsk
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux