version=4

# Read tags straight from git rather than scraping the GitLab tags page.
# The previous HTML-scraping watch file broke two ways at once: gitlab.com now
# redirects /tags to /-/tags, and uscan concatenated the original and redirected
# bases into a pattern matching nothing; and the archive links are now
# HTML-escaped JSON inside a data attribute rather than plain hrefs.
# mode=git depends on neither.
opts="mode=git, pgpmode=none, uversionmangle=s/^v//" \
  https://gitlab.com/dpizetta/helpdev.git \
  refs/tags/v?([\d.]+) debian uupdate
