Files
libfdk-aac/check-version.sh
2025-11-12 13:58:26 +02:00

10 lines
296 B
Bash

#!/bin/bash
# Sourceforge project
REPO="opencore-amr"
# Get version using best_release.json
VERSION=$(curl -s -L https://sourceforge.net/projects/"$REPO"/best_release.json | jq '.platform_releases.linux.filename' | cut -d'/' -f3 | grep -o -E '[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}')
echo "$VERSION"