debian/watch: Update the URL and add support for RC releases

This commit is contained in:
Laurent Bigonville 2022-07-10 09:23:10 +02:00
parent fc7f4b43c1
commit 55eb740f90
2 changed files with 9 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
nut (2.7.4-15) UNRELEASED; urgency=medium
* debian/watch: Update the URL and add support for RC releases
-- Laurent Bigonville <bigon@debian.org> Sun, 10 Jul 2022 09:20:23 +0200
nut (2.7.4-14) unstable; urgency=medium
[ Jeremy Sowden ]

5
debian/watch vendored
View File

@ -1,2 +1,3 @@
version=3
https://networkupstools.org/download.html .*/nut-(.*)\.tar\.(?:gz|bz2|xz)
version=4
opts="uversionmangle=s/-rc/~rc/" \
https://networkupstools.org/source/(?:([\d\.]+))/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@