[RFC] dropping of $(AUTORELEASE) feature

Bjørn Mork bjorn at mork.no
Mon Nov 7 00:17:30 PST 2022


Hannu Nyman <hannu.nyman at iki.fi> writes:

> The AUTORELEASE has been a nice feature from the package PR
> maintenance perspective.
>
> Earlier there was constant trouble with concurrent PRs for the same
> package having the same PKG_RELEASE bump, or the maintainer doing a
> small change with a bump while there was an open PR with the same
> bump. The led to trivial conflicts and rebase needs for
> PRs. AUTORELEASE has tackled that nicely.

It won't be as pretty as AUTORELEASE, but will something like

AUTORELEASE=$(shell git log --format=%ct -1)

do as a replacement?  It should work with shallow clones and a produce a
monotonic increasing integer usable in the package revision.


Bjørn



More information about the openwrt-devel mailing list