Files
perl-font-ttf/check-version.sh
2025-09-19 09:28:56 +03:00

10 lines
205 B
Bash

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