version=4

# The following rule is right, but the upstream frequently...
# https://github.com/exeldro/obs-transition-table/tags .*/tags/(\d\S+)\.tar\.(?:bz2|gz|xz)

# The upstream frequently forgets to update the tag on GitHub, but he always
# updates the official homepage at obsproject.com (see Homepage field at
# debian/control file). The following rule is a workaround to check the current
# version on the official homepage and to call this version from the GitHub.

opts="searchmode=plain, \
      downloadurlmangle=s/.*u-muted..([\d\.]+).*/https:\/\/github.com\/exeldro\/obs-transition-table\/archive\/refs\/tags\/$1\.tar\.gz/" \
https://obsproject.com/forum/resources/transition-table.1174 .span.class..u-muted..(\d\S+)..span.
