Hannu Nyman <hannu.ny...@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

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to