diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..ccaf1b6 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Github repository +REPO="flatpak/flatpak" + +# Get tag name using Github Rest API +VERSION=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name') + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 03ef47d..8624900 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: flatpak description: Linux application sandboxing and distribution framework -version: 1.16.0 +version: 1.16.1 url: https://flatpak.org/ license: LGPL2.1-or-later architecture: any