cruxports/libretls/.watch

6 lines
168 B
Bash
Executable File

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