cruxports/python3-et_xmlfile/.watch

7 lines
184 B
Bash
Executable File

#!/bin/sh
curl -s "https://pypi.org/rss/project/et-xmlfile/releases.xml" \
| awk '/<title>[0-9]+/ {print}'
| sed 's/.*<title>//; s/<\/title>//;' \
| head -n 1