Files
perl-io-string/check-version.sh
T
2025-09-19 09:24:36 +03:00

10 lines
206 B
Bash

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