Add check-version.sh script

This commit is contained in:
EnumDev committed 2025-09-21 16:36:03 +03:00
1 parent aaebf4618b
commit cc813498e9
1 file changed
+9
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Sourceforge project
REPO="dejavu"
# 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"