cruxports/labwc/.watch

6 lines
154 B
Bash

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