Watch file results

component: main
debian_mangled_uversion: 2.6.2
debian_uversion: 2.6.2
distribution: debian
last_check: 2024-11-19 00:22:31.42718
release: sid
source: lift
status: up to date
upstream_url: https://github.com/Malizor/lift/releases/download/2.6.2/lift-2.6.2.tar.xz
upstream_version: 2.6.2
version: 2.6.2-1
watch_file:
version=4

# GitHub has recently (9/22) changed the behavior of the releases page in a way
# that breaks watch files [1]. This file works around that by looking for files on
# the 'tags' page, then rewriting them to reference the expected file on the
# 'releases' page, and then verifies using the corresponding signature file.
#
# [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019696

# This snippet is inspired by what was done in the Sirikali package.

opts=downloadurlmangle=s/archive\/refs\/tags\/(.*)\.tar\.gz/releases\/download\/$1\/@PACKAGE@-$1\.tar\.xz/,\
pgpsigurlmangle=s/$/.asc/ \
https://github.com/Malizor/@PACKAGE@/tags \
/Malizor/@PACKAGE@/archive/refs/tags/(.*)\.tar\.gz