Initial commit

This commit is contained in:
2026-02-11 11:35:58 +02:00
commit be242b3a66
4 changed files with 61 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Sourceforge project
REPO="net-tools"
# Get version using best_release.json
VERSION=$(curl -s -L https://sourceforge.net/projects/"$REPO"/best_release.json | jq -r '.release.filename' | grep -o -E '[0-9]{1,}\.[0-9]{1,}')
echo "$VERSION"