Files
perl-xml-namespacesupport/check-version.sh
T
2026-05-23 10:18:07 +03:00

10 lines
217 B
Bash

#!/bin/bash
# Github repository
MODULE="XML::NamespaceSupport"
# Get version using the MetaCPAN Rest API
VERSION=$(curl -s -L https://fastapi.metacpan.org/download_url/"$MODULE" | jq -r '.version')
echo "$VERSION"