Update package version to 1.46.4

This commit is contained in:
2025-09-13 10:52:40 +03:00
parent ffa086300e
commit 658a16a35a
2 changed files with 16 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Gitlab repository
REPO="pixman/pixman"
# Replace slash with URL encoded representation
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
# Get tag name using Gitlab Rest API
TAG_NAME=$(curl -s -L https://gitlab.freedesktop.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[0].name')
# Trim prefix
VERSION=$(echo "$TAG_NAME" | cut -d'-' -f2)
echo "$VERSION"