10 lines
245 B
Bash
10 lines
245 B
Bash
#!/bin/bash
|
|
|
|
# Sourceforge project
|
|
REPO="gptfdisk"
|
|
|
|
# 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"
|