Initial commit

This commit is contained in:
2026-07-30 13:20:06 +03:00
commit 1dce59ee6c
4 changed files with 56 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Sourceforge project
REPO="emovix"
# Get version using best_release.json
VERSION=$(curl -s -L https://sourceforge.net/projects/"$REPO"/best_release.json | jq '.release.url' | grep -o -P 'emovix-([\d.]+).tar.gz')
# Trim prefix
VERSION=${VERSION//emovix-}
# Trim suffix
VERSION=${VERSION//.tar.gz}
echo "$VERSION"