debian/watch
raw| 1 | version=4 |
| 2 | # API returns JSON, so use plain to disable HTML parsing (just grep the |
| 3 | # JSON for urls, which is not perfect but works well enough). |
| 4 | opts="searchmode=plain" \ |
| 5 | https://api.github.com/repos/OpenTTD/@PACKAGE@/releases \ |
| 6 | https://github.com/OpenTTD/@PACKAGE@/releases/download/[^/]*/@PACKAGE@-([\.\d]+)-source@ARCHIVE_EXT@ |