Files
perl-xml-sax-expat/check-version.sh
T
2026-05-23 10:28:18 +03:00

10 lines
211 B
Bash

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