Add check-version.sh script
This commit is contained in:
1 file changed
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Pagure repository
|
||||||
|
REPO="xmlto"
|
||||||
|
|
||||||
|
# Get tag name using Pagure Rest API
|
||||||
|
TAG_NAME=$(curl -s -L https://pagure.io/api/0/"$REPO"/git/tags | jq -r '.tags[0]')
|
||||||
|
|
||||||
|
echo "$TAG_NAME"
|
||||||
Reference in new issue
Block a user