From 351bcb2aed9b47f80dc42c3fd6847027cfb1a44b Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 9 Sep 2025 21:13:23 +0300 Subject: [PATCH] Update package version to 0.114 --- check-version.sh | 15 +++++++++++++++ pkg.info | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..257195b --- /dev/null +++ b/check-version.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Gitlab repository +REPO="dbus/dbus-glib" + +# 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 '.[0].name') + +# Get version number from tag name +VERSION=$(echo "$TAG_NAME" | cut -d'-' -f3) + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 48e3ee7..29f7a70 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: dbus-glib description: GLib bindings for D-Bus -version: 0.112 +version: 0.114 url: https://www.freedesktop.org/wiki/Software/dbus/ license: AFL2.1 or GPL2-or-later architecture: any