Initial commit
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user