cruxports/arpack/.watch

6 lines
186 B
Bash
Executable File

#!/bin/sh
curl -s "https://github.com/opencollab/arpack-ng/tags" \
| awk '/archive\/refs\/tags.*tar\.gz/ {$0=gensub(/.*\/refs\/tags\/(.+)\.tar\.gz.*/,"\\1",1); print;}' \
| head -n 1