Files
speex/check-version.sh
2025-09-20 17:41:16 +03:00

12 lines
244 B
Bash

#!/bin/bash
URL="https://www.speex.org/downloads/"
# Get version number from tag name
VERSION=$(curl -s -L "$URL" | grep -o -E 'Speex [0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?' | head -n1)
# Trim prefix
VERSION=${VERSION//Speex /}
echo "$VERSION"