From ec8f82dca9bf19ce18d721c825753b2bb0afa80e Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 17 Sep 2025 22:03:04 +0300 Subject: [PATCH] Update package version to 1.6.0 --- 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..4ffe526 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Git repository +REPO="https://chromium.googlesource.com/webm/libwebp" + +# Get tag name using 'git ls-remote' +TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | cut -d'/' -f3 | grep '^v' | grep -v 'rc' | tail -1) + +# 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 49b0ac9..0f52c67 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: libwebp description: Lightweight encoding and decoding library for the WebP file format -version: 1.3.2 +version: 1.6.0 url: https://developers.google.com/speed/webp/ license: BSD-3-Clause architecture: any