d/watch: Adapt to Github website changes

This commit is contained in:
Simon McVittie 2022-10-03 10:19:31 +01:00
parent f59d3ae52b
commit 45160fd088
1 changed files with 8 additions and 1 deletions

9
debian/watch vendored
View File

@ -1,2 +1,9 @@
version=4 version=4
https://github.com/ostreedev/ostree/releases .*/libostree-(\d\S*)\.tar\.xz # Upstream releases official Autotools 'make dist' tarballs, so we use
# those in preference to git tags
opts="\
compression=xz, \
dversionmangle=s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)//, \
downloadurlmangle=s#/tag/#/download/#;s#(v?@ANY_VERSION@)$#$1/libostree-$2.tar.xz#, \
filenamemangle=s#v?@ANY_VERSION@#@PACKAGE@-$1.tar.xz#" \
https://github.com/ostreedev/@PACKAGE@/tags .*/releases/tag/v?@ANY_VERSION@