diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..79a893f --- /dev/null +++ b/check-version.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +URL="https://web.mit.edu/kerberos/" + +# Get version number from tag name +VERSION=$(curl -s -L "$URL" | grep 'Current release: ' | grep -o -E '[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?' | tail -n1) + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 982256e..c19b977 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: krb5 description: A network authentication protocol -version: 1.21.3 +version: 1.22.1 url: https://web.mit.edu/kerberos/ license: custom architecture: any