6 lines
177 B
Plaintext
6 lines
177 B
Plaintext
|
#!/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
|