cruxports/cagebreak/.watch

6 lines
172 B
Plaintext
Raw Normal View History

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