Add check-version.sh script

This commit is contained in:
2026-02-25 09:04:30 +02:00
parent a82bba66a7
commit 4a2f1ec4ac
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Sourceforge project
REPO="tcl"
# 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"