From 2b36a41eb069c3fed09f60456dc141e1778f40d5 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 16 Sep 2025 19:20:08 +0300 Subject: [PATCH] Update package version to 0.9.2 --- check-version.sh | 15 +++++++++++++++ pkg.info | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..a1369bf --- /dev/null +++ b/check-version.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Github repository +REPO="wmww/gtk-layer-shell" + +# Get tag name using Github Rest API +TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name') + +# Get version number from tag name +#VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev) + +# Trim 'v' character in TAG_NAME variable +VERSION=$(echo "$TAG_NAME" | tr -d 'v') + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index d1fb53d..3af5002 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,9 @@ name: gtk-layer-shell description: A library to create panels and other desktop components for Wayland using the Layer Shell protocol -version: 0.9.0 +version: 0.9.2 url: https://github.com/wmww/gtk-layer-shell license: LGPL3-or-later architecture: any depends: ["gtk3","wayland"] -make_depends: ["gobject-introspection","meson","python-setuptools","valabind"] +make_depends: ["gobject-introspection","meson","valabind","wayland-protocols"] type: source