Update package version to 6.15

This commit is contained in:
2025-08-15 15:54:02 +03:00
parent afaeb61f5d
commit de21354dbf
3 changed files with 18 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Git repository
REPO="https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git"
# 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)
# Get version number from tag name
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
echo "$VERSION"