Update check-version.sh script

This commit is contained in:
2025-11-08 14:00:01 +02:00
parent 2ea6a2d561
commit 12a2f9a1d9
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Git repository # Git repository
REPO="git://w1.fi/hostap.git" REPO="https://git.w1.fi/hostap.git"
# Get tag name using 'git ls-remote' # Get tag name using 'git ls-remote'
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | tail -1 | cut -d'/' -f3) TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | tail -1 | cut -d'/' -f3)