debian/watch
raw| 1 | #version=4 |
| 2 | #opts="mode=git, pgpmode=none" \ |
| 3 | # https://github.com/inexio/go-monitoringplugin.git \ uupdate |
| 4 | # HEAD debian |
| 5 | |
| 6 | # Use the following when upstream starts to tag releases: |
| 7 | # |
| 8 | version=4 |
| 9 | opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%golang-github-inexio-go-monitoringplugin-$1.tar.gz%,\ |
| 10 | uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/" \ |
| 11 | https://github.com/inexio/go-monitoringplugin/tags .*/v?(\d\S*)\.tar\.gz debian uupdate |