Watch file results

component: main
debian_mangled_uversion: 2.0b5
debian_uversion: 2.0b5
distribution: debian
last_check: 2024-04-23 03:50:11.12375
release: sid
source: cpdb-backend-cups
status: up to date
upstream_url: https://github.com/OpenPrinting/cpdb-backend-cups/archive/refs/tags/2.0b5.tar.gz
upstream_version: 2.0b5
version: 2.0b5-1
watch_file:
# this variant catches all version 1.* and 2.* with or without v
version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*?b?\d)\.tar\.gz%cpdb-backend-cups-$1.tar.gz%" \
    https://github.com/OpenPrinting/cpdb-backend-cups/tags \
    (?:.*?/)?v?(\d[\d.]*?b?\d)\.tar\.gz

## tags are without v nowadays (or maybe even not)
#version=4
#https://github.com/OpenPrinting/cpdb-backend-cups/tags/ \
# .*/v(\d\S*)\.(?:tar\.gz|tgz)