From 96590d4956a2bef936dd5058e746350634f9348a Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 10 Sep 2025 14:45:50 +0300 Subject: [PATCH] Add check-version.sh script --- check-version.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..64b458f --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Sourceforge project +REPO="fluxbox" + +# 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"