cruxports/catgirl/.watch

6 lines
166 B
Bash
Executable File

#!/bin/sh
curl -s "https://git.causal.agency/catgirl/refs/" \
| awk '/catgirl\/snapshot/ {$0=gensub(/.*>catgirl-(.+)\.tar\.gz<.*/,"\\1",1); print;}' \
| head -n 1