debian/watch
raw| 1 | version=4 |
| 2 | # filenamemangle -> prepending icinga2 if only tag name |
| 3 | # versionmangle -> convert version addition to ~ version |
| 4 | opts=filenamemangle=s/.+\/(?:icinga2-|v)([\d.]+(?:-.+)?).tar.gz/icinga2-$1.tar.gz/,versionmangle=s/^([\d.]+)-(.+)?/$1~$2/ \ |
| 5 | https://github.com/Icinga/icinga2/tags .*/(?:icinga2-|v)([\d.]+(?:-.+)?).tar.gz |