Files
python-greenlet/check-version.sh
2025-12-31 09:47:40 +02:00

10 lines
180 B
Bash

#!/bin/bash
# Pypi module
MODULE="greenlet"
# Get version using Pypi Rest API
VERSION=$(curl -s -L https://pypi.org/pypi/"$MODULE"/json | jq -r '.info.version')
echo "$VERSION"