cruxports/imv/.watch

6 lines
155 B
Bash
Executable File

#!/bin/sh
curl -s "https://git.sr.ht/~exec64/imv/refs" \
| awk '/Release v/ {$0=gensub(/.*Release v(.+)[[:blank:]]*.*/,"\\1",1); print;}' \
| head -n 1