From 85c4b42119dcb078b631ef5b59d0ff3986fa069f Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 22 Aug 2025 13:17:21 +0300 Subject: [PATCH] Update package version to 1.89.0 --- check-version.sh | 9 +++++++++ pkg.info | 2 +- 2 files changed, 10 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..fc78ccd --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Github repository +REPO="rust-lang/rust" + +# 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"/releases/latest | jq -r '.tag_name') + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 69d4176..023f4e6 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: rustc description: The rust programming language compiler -version: 1.88.0 +version: 1.89.0 url: https://www.rust-lang.org/ license: Apache-2.0 or MIT architecture: any