Initial commit

This commit is contained in:
2025-08-21 09:59:15 +03:00
commit 6e9826be3d
6 changed files with 84 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Git repository
REPO="git://git.kernel.org/pub/scm/bluetooth/bluez.git"
# Get tag name using 'git ls-remote'
VERSION=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | grep -v '-' | tail -1 | cut -d'/' -f3)
echo "$VERSION"