cruxports/lagrange/.watch

6 lines
159 B
Plaintext
Raw Normal View History

2023-02-10 21:16:54 -05:00
#!/bin/sh
curl -s "https://github.com/skyjake/lagrange/releases" \
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*v(.+)<.*/,"\\1",1); print;}' \
| head -n 1