Files
libmtp/check-version.sh
2025-10-11 16:46:03 +03:00

10 lines
243 B
Bash

#!/bin/bash
# Sourceforge project
REPO="libmtp"
# 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)
echo "$VERSION"