diff options
author | Bas Couwenberg <sebastic@xs4all.nl> | 2018-08-15 19:20:05 +0200 |
---|---|---|
committer | Bas Couwenberg <sebastic@xs4all.nl> | 2018-08-15 19:20:05 +0200 |
commit | 12376c8300670853f8edb80d59564940a375b8d6 (patch) | |
tree | 2dd26776e1f3aa720f2866ea53a9e7753c8ebac8 | |
parent | 73d758852cc46cff3b33467f26799cf5c9cf2a5e (diff) |
Update watch file to handle common issues.
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/watch | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index ff250f4..05c89f5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ sosi2osm (1.0.0-5) UNRELEASED; urgency=medium * Bump Standards-Version to 4.2.0, no changes. + * Update watch file to handle common issues. -- Bas Couwenberg <sebastic@debian.org> Sun, 05 Aug 2018 21:00:14 +0200 diff --git a/debian/watch b/debian/watch index e327227..f06d098 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,7 @@ version=3 -https://github.com/Gnonthgol/sosi2osm/releases /Gnonthgol/sosi2osm/archive/(\d\S+)\.tar\.(?:bz2|gz|xz) +opts=\ +dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\ +uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/-/./g,\ +filenamemangle=s/(?:.*)?(?:rel|v|sosi2osm)[\-\_\.]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/sosi2osm-$1.$2/ \ +https://github.com/Gnonthgol/sosi2osm/releases \ +(?:.*/archive/)?(?:rel|v|sosi2osm)?[\-\_\.]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |