Initial commit

This commit is contained in:
2026-06-18 10:36:56 +03:00
commit d652faf3c5
6 changed files with 213 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
URL="https://www.quut.com/gsm/"
# Get version number from tag name
VERSION=$(curl -s -L "$URL" | grep -o -P 'gsm-([\d.]+).tar.gz' | head -n1)
# Trim prefix
VERSION=${VERSION//gsm-/}
# Trim suffix
VERSION=${VERSION//.tar.gz/}
echo "$VERSION"