Files
libtirpc/check-version.sh

10 lines
245 B
Bash

#!/bin/bash
# Sourceforge project
REPO="libtirpc"
# Get version using best_release.json
VERSION=$(curl -s -L https://sourceforge.net/projects/"$REPO"/best_release.json | jq '.platform_releases.linux.filename' | cut -d'/' -f3)
echo "$VERSION"