Files
perl-io-tty/check-version.sh
T
2025-09-30 19:41:56 +03:00

10 lines
203 B
Bash

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