From 796eca811245b9bbf1cc881fa174a3db864ff00e Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 24 Aug 2025 18:59:01 +0300 Subject: [PATCH] Update package version to 0.15.1 --- check-version.sh | 9 +++++++++ pkg.info | 6 +++--- 2 files changed, 12 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..c34480b --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Github repository +REPO="ziglang/zig" + +# Get tag name using Github Rest API +VERSION=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/tags | jq -r '.[0].name') + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 99c2dbe..bab7e3c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,9 @@ name: zig description: A general-purpose programming language and toolchain for maintaining robust, optimal and reusable software -version: 0.12.1 +version: 0.15.1 url: https://ziglang.org/ license: MIT architecture: any -depends: ["clang","lld","llvm"] -make_depends: ["cmake"] +depends: ["clang","lld","llvm-libs"] +make_depends: ["cmake","llvm"] type: source