Watch file results

component: main
debian_mangled_uversion: 1.6.0
debian_uversion: 1.6.0
distribution: debian
last_check: 2021-12-06 13:20:09.261068
release: sid
source: golang-blackfriday
status: up to date
upstream_url: https://github.com/russross/blackfriday/archive/refs/tags/v1.6.0.tar.gz
upstream_version: 1.6.0
version: 1.6.0-1
watch_file:
version=4
#opts="mode=git, pgpmode=none, pretty=1.5.2+git%cd.%h" \
#    https://github.com/russross/blackfriday \
#    HEAD debian

# We want to stick with the v1 (master) branch
opts="filenamemangle=s%(?:.*?)?v?(1\.\d[\d.]*)\.tar\.gz%golang-blackfriday-$1.tar.gz%" \
    https://github.com/russross/blackfriday/tags \
    (?:.*?/)?v?(1\.\d[\d.]*)\.tar\.gz debian

# Original watch line:
#opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%golang-blackfriday-$1.tar.gz%" \
#    https://github.com/russross/blackfriday/tags \
#    (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian