cruxports/cagebreak/.watch

6 lines
177 B
Bash
Executable File

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