From 433d02dc220b38f894858f18f2001544dea5b668 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 10 Sep 2025 12:28:09 +0300 Subject: [PATCH] Update package version to 2.8.12 --- check-version.sh | 12 ++++++++++++ pkg.info | 5 ++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..9dd8762 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Github repository +REPO="rrthomas/enchant" + +# 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') + +# 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 70aca5f..6c41ecb 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,10 @@ name: enchant description: Spelling library wrapper with consistent interface -version: 2.8.2 -revision: 2 +version: 2.8.12 url: https://rrthomas.github.io/enchant/ license: LGPL2.1-or-later architecture: any depends: ["gcc-libs", "glib", "glibc"] optional_depends: ["aspell"] -make_depends: ["aspell", "vala", "unittest-cpp"] +make_depends: ["aspell","aspell-en", "vala", "unittest-cpp"] type: source