diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..59846f1 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Sourceforge project +REPO="smartmontools" + +# 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" diff --git a/pkg.info b/pkg.info index 3dfe35e..ec6c691 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,6 @@ name: smartmontools description: Utilities to control and monitor storage systems using S.M.A.R.T (Self-Monitoring Analysis and Reporting Technology System) -version: 7.4 -revision: 2 +version: 7.5 url: https://www.smartmontools.org/ license: GPL2 architecture: any