cruxports/libretls/.watch

6 lines
168 B
Bash

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