diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..ac357e8 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +URL="https://www.gnu.org/software/binutils/" + +# Get version number from tag name +VERSION=$(curl -s -L "$URL" | grep 'The latest release of GNU binutils is ' | grep -o -E '([0-9]\.[0-9]*)') + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 1d8a638..b0d4425 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: binutils description: The GNU Binutils are a collection of binary tools -version: 2.44 +version: 2.45 url: https://www.gnu.org/software/binutils/ license: GPL architecture: any