cruxports/prboom-plus/.watch

6 lines
171 B
Bash

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