Watch file results

component: main
debian_mangled_uversion: 2.0b5
debian_uversion: 2.0b5
distribution: debian
last_check: 2024-11-13 00:22:16.472793
release: sid
source: cpdb-backend-cups
status: newer package available
upstream_url: https://github.com/OpenPrinting/cpdb-backend-cups/archive/refs/tags/2.0b6.tar.gz
upstream_version: 2.0b6
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)