debian/watch
raw| 1 | # this variant catches all version 1.* and 2.* with or without v |
| 2 | version=4 |
| 3 | opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*?b?\d)\.tar\.gz%cpdb-backend-cups-$1.tar.gz%" \ |
| 4 | https://github.com/OpenPrinting/cpdb-backend-cups/tags \ |
| 5 | (?:.*?/)?v?(\d[\d.]*?b?\d)\.tar\.gz |
| 6 | |
| 7 | ## tags are without v nowadays (or maybe even not) |
| 8 | #version=4 |
| 9 | #https://github.com/OpenPrinting/cpdb-backend-cups/tags/ \ |
| 10 | # .*/v(\d\S*)\.(?:tar\.gz|tgz) |
| 11 |