File: watch

package info (click to toggle)
nml 0.7.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,792 kB
  • sloc: python: 18,398; ansic: 109; makefile: 69
file content (6 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
version=4
# API returns JSON, so use plain to disable HTML parsing (just grep the
# JSON for urls, which is not perfect but works well enough).
opts="searchmode=plain" \
https://api.github.com/repos/OpenTTD/@PACKAGE@/releases \
https://github.com/OpenTTD/@PACKAGE@/releases/download/[^/]*/@PACKAGE@-([\.\d]+)@ARCHIVE_EXT@