Update package version to 4.4.8
This commit is contained in:
+11
-3
@@ -1,4 +1,12 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Ignore this package
|
||||
echo "ignore"
|
||||
# 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 "^n4.4\.[0-9]{1,}$" | sort -V | tail -n1)
|
||||
|
||||
# Trim 'v' character in TAG_NAME variable
|
||||
VERSION=$(echo "$TAG_NAME" | tr -d 'n')
|
||||
|
||||
echo "$VERSION"
|
||||
|
||||
Reference in New Issue
Block a user