Update package version to 1.13.1

This commit is contained in:
2025-09-07 21:08:19 +03:00
parent fbf13f8483
commit a64418d9b3
3 changed files with 14 additions and 10 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Github repository
REPO="ninja-build/ninja"
# 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: ninja
description: The Ninja build system
version: 1.11.1
revision: 4
version: 1.13.1
url: https://ninja-build.org/
license: Apache2
architecture: any
+1 -8
View File
@@ -15,14 +15,7 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
python3 configure.py --bootstrap
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
./ninja ninja_test
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots
python3 configure.py --bootstrap --verbose
}
# The package function is executed in the source directory