cruxports/cagebreak/.watch

6 lines
172 B
Bash
Executable File

#!/bin/sh
curl -s "https://github.com/project-repo/cagebreak/releases" \
| awk '/<h2 class=.sr-only/ { $0=gensub(/.*>Release (.+)<.*/,"\\1",1); print; }' \
| head -n 1