Update package version to 5.2.2
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Sourceforge project
|
||||
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')
|
||||
|
||||
# Remove prefix
|
||||
VERSION=${VERSION//\/giflib-/}
|
||||
|
||||
# Remove suffix
|
||||
VERSION=${VERSION//.tar.gz/}
|
||||
|
||||
echo "$VERSION"
|
||||
Reference in New Issue
Block a user