diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..d4b5f32 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Gitlab repository +REPO="gstreamer/gstreamer" + +# Replace slash with URL encoded representation +REPO=$(echo "$REPO" | sed 's|/|%2F|g') + +# Get tag name using Gitlab Rest API +TAG_NAME=$(curl -s -L https://gitlab.freedesktop.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[].name' | sort -V | tail -n1) + +echo "$TAG_NAME" diff --git a/pkg.info b/pkg.info index 71d8d4b..13763c8 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,6 @@ name: gst-plugins-bad description: Gstreamer bad plugins -version: 1.24.12 -revision: 2 +version: 1.27.2 url: https://gstreamer.freedesktop.org/ license: LGPL2.1-or-later architecture: any