Update package version to 7.1.1

This commit is contained in:
2025-08-11 13:11:22 +03:00
parent bee0ad2481
commit 5cc3753cdc
4 changed files with 21 additions and 51 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Git repository
REPO="https://git.ffmpeg.org/ffmpeg.git"
# Get tag name using 'git ls-remote'
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | cut -d'/' -f3 | grep -E "^n([0-9]*\.[0-9]*\.[0-9]*)\$" | sort -r | head -n1)
# Trim 'v' character in VERSION variable
VERSION=$(echo "$TAG_NAME" | tr -d 'n')
echo "$VERSION"