From bc4c387d536ae4a6bf64dcd03f8d2250decdbe4b Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 9 Sep 2025 14:27:15 +0300 Subject: [PATCH] Update package version to 1.14.5 --- check-version.sh | 12 ++++++++++++ pkg.info | 2 +- 2 files changed, 13 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..bf9a79c --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Gitlab repository +REPO="cairo/cairomm" + +# 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' | grep '^1.14' | head -n1) + +echo "$TAG_NAME" diff --git a/pkg.info b/pkg.info index 079caae..32c1a04 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: cairomm description: C++ wrapper for the cairo graphics library -version: 1.14.0 +version: 1.14.5 url: https://www.cairographics.org/cairomm/ license: LGPL2-only architecture: any