Add check-version.sh script

This commit is contained in:
2025-09-21 20:42:42 +03:00
parent 770e79c79b
commit 4cfbcf1f2c
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Sourceforge project
REPO="zsh"
# 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"