Update package version to 6.1.2
This commit is contained in:
+2
-2
@@ -4,10 +4,10 @@
|
||||
REPO="giflib"
|
||||
|
||||
# Get version using best_release.json
|
||||
VERSION=$(curl -s -L https://sourceforge.net/projects/"$REPO"/best_release.json | jq -r '.platform_releases.linux.filename')
|
||||
VERSION=$(curl -s -L https://sourceforge.net/projects/"$REPO"/best_release.json | jq -r '.platform_releases.linux.filename' | cut -d'/' -f3)
|
||||
|
||||
# Remove prefix
|
||||
VERSION=${VERSION//\/giflib-/}
|
||||
VERSION=${VERSION//giflib-/}
|
||||
|
||||
# Remove suffix
|
||||
VERSION=${VERSION//.tar.gz/}
|
||||
|
||||
Reference in New Issue
Block a user