Initial commit

This commit is contained in:
2025-10-09 20:49:02 +03:00
commit efabb4f2d9
4 changed files with 85 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Pagure repository
REPO="volume_key"
# Get tag name using Pagure Rest API
TAG_NAME=$(curl -s -L https://pagure.io/api/0/"$REPO"/git/tags | jq -r '.tags[]' | cut -d'-' -f2 | sort -V | tail -n1)
echo "$TAG_NAME"