Files
nss-mdns/check-version.sh
T
2025-12-05 10:51:22 +02:00

9 lines
214 B
Bash

#!/bin/bash
URL="https://0pointer.de/lennart/projects/nss-mdns/"
# Get version number from tag name
VERSION=$(curl -s -L "$URL" | grep 'nss-mdns ' | head -n1 | grep -o -E '[0-9]{1,}\.[0-9]{1,}')
echo "$VERSION"