Update package version to 0.25.9

This commit is contained in:
2025-09-21 16:25:37 +03:00
parent f672ea26b2
commit a3a0275bdc
3 changed files with 16 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Github repository
REPO="tree-sitter/tree-sitter"
# 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"
+1 -2
View File
@@ -1,7 +1,6 @@
name: tree-sitter
description: An incremental parsing system for programming tools
version: 0.25.3
revision: 2
version: 0.25.9
url: https://github.com/tree-sitter/tree-sitter
license: MIT
architecture: any
+3 -1
View File
@@ -10,6 +10,9 @@ FILENAME="${DOWNLOAD##*/}"
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"/cli
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
# The build function is executed in the source directory
@@ -25,7 +28,6 @@ build() {
# Build command-line interface
cd "$BPM_SOURCE"/cli
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
cargo build --release --locked --offline
}