Update package version to 1.1.7

This commit is contained in:
2025-09-18 20:32:49 +03:00
parent b171bad46c
commit 788f9991b5
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Git repository
REPO="http://bitmath.org/git/mtdev.git"
# Get tag name using 'git ls-remote'
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" 2>/dev/null | tail -1 | cut -d'/' -f3)
# Trim 'v' character in TAG_NAME variable
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
echo "$VERSION"