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

Re: d/watch for Gitea's new dynamic pages



On Thu, Nov 4, 2021 at 12:48 PM Johannes Schauer Marin Rodrigues
<josch@debian.org> wrote:
>
>>  filenamemangle=s/.+\/tag\/(\d\S+)$/foot-$1\.tar\.gz/ \
> filenamemangle=s{.*/(.*)}{@PACKAGE@-$1.tar.gz} \

I think this is more generic:

  filenamemangle=s/.*?(@ANY_VERSION@@ARCHIVE_EXT@)/@PACKAGE@-$1/

(not dependent to compression format)


Reply to: