cruxports/libretls/.watch

6 lines
168 B
Plaintext
Raw Normal View History

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