Rebuild with python 3.14

This commit is contained in:
2026-05-06 15:25:34 +03:00
parent 27e5cb02b8
commit 0b3ee6169e
3 changed files with 42 additions and 24 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Gitlab repository
REPO="dbus/dbus-python"
# 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 suffix
VERSION=${TAG_NAME//dbus-python-/}
echo "$VERSION"