From 66e0c968c3f71e29add51c1eac59ecdbbdbcb8ca Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 9 Sep 2025 14:22:01 +0300 Subject: [PATCH] Update package version to 1.18.4 --- 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..1be84b2 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Gitlab repository +REPO="cairo/cairo" + +# 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') + +echo "$TAG_NAME" diff --git a/pkg.info b/pkg.info index 84ac771..f03f77d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: cairo description: 2D graphics library with support for multiple output devices -version: 1.18.2 +version: 1.18.4 url: https://cairographics.org/ license: LGPL2.1-only or MPL-1.1 architecture: any